Conversion from spaces to hex 000c

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
hemaarvind1
Participant
Posts: 50
Joined: Mon Jan 21, 2008 9:35 am

Conversion from spaces to hex 000c

Post by hemaarvind1 »

Hi Everyone,

could you please suggest how to get the spaces converted to hex 000c.

I guess I can use convert function ,but I am not sure of what values to be passed for the hex 000c. I suppose it is char(20) for spaces.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, you can use Convert() for this but you pass the decimal value to the CHAR() function. So just convert your hex values to decimal and use them there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
hemaarvind1
Participant
Posts: 50
Joined: Mon Jan 21, 2008 9:35 am

Post by hemaarvind1 »

Thank you so much :)
Post Reply