Hi,
I have to convert a number column that has leading zero(s) to a varchar2. If I run the TO_Char(column, '099999') or other similar formats I get an extra leading blank. For example, if the value in the number column is 012345 when I run the to_char I get ' 012345'. I have tried TRIM and LTRIM without success. Neither of these remove the leading blank. My guess is that it is not an ascii blank but some other non-pritable character.
Anybody have any ideas?
Jim
I have to convert a number column that has leading zero(s) to a varchar2. If I run the TO_Char(column, '099999') or other similar formats I get an extra leading blank. For example, if the value in the number column is 012345 when I run the to_char I get ' 012345'. I have tried TRIM and LTRIM without success. Neither of these remove the leading blank. My guess is that it is not an ascii blank but some other non-pritable character.
Anybody have any ideas?
Jim