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 :)
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 :)