Trying to insert Black where columb datatype is Date

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mshilpa
Participant
Posts: 7
Joined: Thu Jul 24, 2008 11:51 am

Trying to insert Black where columb datatype is Date

Post by mshilpa »

Hi ALL,
I am trying to insert "Blank" in one of my column where my column data type is DATE.
But but i am not able to do so.
Could anybody please help me.
Thanks in Advance
DS_SUPPORT
Premium Member
Premium Member
Posts: 232
Joined: Fri Aug 04, 2006 1:20 am
Location: Bangalore

Post by DS_SUPPORT »

What do you meant by 'BLANK'? Is it Null or Empty String ?

Will your target accept NULL values for that date column, in that case use @NULL in your Transformer derivation.
Sathishkumarins
Premium Member
Premium Member
Posts: 41
Joined: Tue Jul 08, 2008 5:45 am
Location: Columbus

Re: Trying to insert Black where columb datatype is Date

Post by Sathishkumarins »

mshilpa wrote: I am trying to insert "Blank" in one of my column where my column data type is DATE.
If you are using any database like oracle then you have to give 'Y' in nullable column in table or view as well as in DS. Otherwise you might get "cannot insert null error".
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If this is a parallel job (as marked) then "blank" is not a legal value. Parallel jobs strictly enforce data type compliance.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply