Page 1 of 1

smallint not passing null value

Posted: Wed May 18, 2011 7:58 pm
by times29
Hi,
For datatype smallint i am doing '' in transformer but it is giving me 0 as output how can i pass null instead of 0

Thanks

Re: smallint not passing null value

Posted: Wed May 18, 2011 8:25 pm
by SURA
INT Data type will treat it as 0.

Posted: Wed May 18, 2011 8:29 pm
by jwiles
Have you tried the setNull() function? :?

Posted: Wed May 18, 2011 9:07 pm
by chulett
'' != null

Posted: Wed May 18, 2011 9:24 pm
by ray.wurlod
The output column must be marked as Nullable, otherwise a default value will be substituted.