Null Handling
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 296
- Joined: Sun Nov 16, 2008 7:41 pm
Null Handling
Hello all
I am trying to load 2 columns into a table. One of the columns can be null.in the xformer i have used NullToEmpty(FieldName) and loaded into database. When i query the database, i see <Null> in that field. I was expecting an empty string. I am not expecting <Null> as i have already handled it. Is Empty string not differenct from null?
Please reply
I am trying to load 2 columns into a table. One of the columns can be null.in the xformer i have used NullToEmpty(FieldName) and loaded into database. When i query the database, i see <Null> in that field. I was expecting an empty string. I am not expecting <Null> as i have already handled it. Is Empty string not differenct from null?
Please reply
Re: Null Handling
What Database you are using as target?
-
- Premium Member
- Posts: 296
- Joined: Sun Nov 16, 2008 7:41 pm
Re: Null Handling
Oracle 9i
-
- Premium Member
- Posts: 296
- Joined: Sun Nov 16, 2008 7:41 pm
Re: Null Handling
Can somebody please help me on thisreachmexyz wrote:Oracle 9i
-
- Premium Member
- Posts: 296
- Joined: Sun Nov 16, 2008 7:41 pm
Thanks for the reply.chulett wrote:While nulls and empty strings are two different things, Oracle is perfectly happy to turn one into the other. Add $APT_ORACLE_PRESERVE_BLANKS to your job and set it to "true", see if that helps.
Unfortunately it is not working. what can i do more to make empty string stay as empty string instead of convertin to null.
Apparently the Reply to topic link is not working either. [sigh]
"Not working" doesn't really give us much to go on, how about more information? Say, your job design, stages used (particularly the target stage), settings there, etc etc etc. Details are your friend.
"Not working" doesn't really give us much to go on, how about more information? Say, your job design, stages used (particularly the target stage), settings there, etc etc etc. Details are your friend.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 892
- Joined: Thu Oct 16, 2003 5:18 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 111
- Joined: Mon Nov 30, 2009 7:21 am
- Location: Bangalore