Dear All,
We are facing an issue while loading blank data(‘ ‘) to target table having not null constraint.
Error:
|Data flow XYZ_DF|Loader Query_XYZ
Oracle API bulk loader CONVERSION_ERROR: <ORA-1400:ORA-01400: cannot insert NULL into (COLUMN_NAME); SKIP:0>.
Basically, Data Services is reading blank (' ') as null and loading nulls to the target table. Ideally, ‘ ‘ should be read & loaded as ‘ ‘.
Environment:
Source DB: Oracle 10g
Target DB: Oracle 10g
DS version: BODS 4.1
We have the following parameters of DSConfig.txt defined as:
Treat_Oracle_Bulk_Loader_Blank_As_Null = TRUE
LOADER_REPLACE_NULL_WITH = (null)
LOADER_REPLACE_BLANK_WITH =-null-
Any help is most welcome…
Thank you,
Tirupal