Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Issue while loading blank data into oracle DB

$
0
0

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

 


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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