Hey,
I am using LOAD option in oracle enterprise stage. When i load data into the VARCHAR Field, the data is getting loaded with spaces.
Example
Assume the job as follows
Oracle -----> Transformer------->Oracle
In transformer i am defaulting a value 'SM' for a column of datatype Varchar (5). when i load the data, its getting loaded as 'SM ' (with trailing spaces). I tried trimming the data via datastage but it dosent work.
is there any env variable to solve this issuse or any workaround? or is it a default characteristic of LOAD?
Oracle Load Issuse, Data loaded with trailing spaces
Moderators: chulett, rschirm, roy
I already tried that and still it dosent work.
The reason I set tht to true was, when we use SQL LOAD option via datastage, it treats " " as Null and it dosent get loaded into the non nullable column. But when I set this ENV varibale, it works fine.
Also When I use Insert, it dosent get loaded with trailing spaces
Also When I use Insert, it dosent get loaded with trailing spaces