Page 1 of 1

Oracle Load Characteristic

Posted: Mon Feb 23, 2009 5:49 pm
by gsym
Hey,

I am using LOAD option in oracle enterprise stage. When i load onto 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 column "Code" of datatype Varchar (5). when i load the data, its getting loaded as 'SM '

is there any env variable to solve this issuse or any workaround?

Re: Oracle Load Characteristic

Posted: Mon Feb 23, 2009 6:42 pm
by changming
gsym wrote:Hey,

I am using LOAD option in oracle enterprise stage. When i load onto 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 column "Code" of datatype Varchar (5). when i load the data, its getting loaded as 'SA '

is there any env variable to solve this issuse or any workaround?
Do you mean Datastage turned 'SM' to 'SA ' ?
that is more seriously.

OOPS, sorry....Changed it now

Posted: Mon Feb 23, 2009 8:19 pm
by gsym
That was a typo.