I need to convert a numeric field into a varchar when I am loading into my DB2 target. I have tried the DecimalToString function, but returned blanks. I also got the same result when I tried the Char() function.
I am extracting this field from SAP, which comes as a numeric. But my DB2 target needs to be Varchar.
Any suggestions?
Thanks in advance.
Jweir
--- If strength were all, tiger would not fear scorpion.
I forgot to mention that in that field, I have padded that numeric value with a zero at the end of it (i.e. 2010). So when I straight pass it, that zero gets dropped.
Jweir
--- If strength were all, tiger would not fear scorpion.
Ok, apparently there was never a padded zero. The field comes in as 2010, numeric. But when I straight pass it to the varchar target, the last zero is dropped, resulting in 201.
Jweir
--- If strength were all, tiger would not fear scorpion.