NULL replace with junk and empty string
Posted: Thu Jun 25, 2009 11:07 am
Hi
I am inserting teradata table using ODBC stage ( used b'se of performance reasons)
while loading the NULL values it is being replace by junk and empty string.
in the derivation I am doing following
1. the column data typeVarchar and the derivation on the insert transformer is @null -- in database it is getting replaced by empty string
2. another column has source data type as char , while inserting the datatype is varchar.
derivation of the column is ISnull(colname) then @NULL else coluname , all the null values are replace by junk values.
Any thought on where why this is happening. I can't change the ODBC stage to teradataAPI stage.
I am inserting teradata table using ODBC stage ( used b'se of performance reasons)
while loading the NULL values it is being replace by junk and empty string.
in the derivation I am doing following
1. the column data typeVarchar and the derivation on the insert transformer is @null -- in database it is getting replaced by empty string
2. another column has source data type as char , while inserting the datatype is varchar.
derivation of the column is ISnull(colname) then @NULL else coluname , all the null values are replace by junk values.
Any thought on where why this is happening. I can't change the ODBC stage to teradataAPI stage.