Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

BLANK FROM SOURCE IS CONVERTED TO 0 while loading into Table - response (3) by dashing201

$
0
0

Thanks for the replies.
KS42982: It is not the NULL I am talking about, NULL are getting loaded as NULL only in the table. It is Blank Values ('') which are getting converted to 0 while inserting into the table.
eg: INSERT INTO TST_TABLE(col1,col2,col3) values(20,'',20);
expect output: 20,,20
actual output: 20,0,20
dnoeth: Yes, empty string is getting converted into 0. So one thing is for sure that we cannot have BLANK value in integer column. Right ? So now either I can set it to NULL or to some other value which can help me in identifying BLANK value.
Thanks :)
 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>