TO_NUMBER format mask error
564246May 1 2007 — edited May 1 2007Hi All,
I have some numbers stored in a varchar field. They consist of a max of 2 digits and I want to display single digit numbers with a preceeding zero using the following code:
TO_NUMBER("POLK_A_CT"."MODEBA",'099')
I am getting an ORA-01722 invalid nuumber error.
My only though was there must be non numeric charachters in the field but if I do the following I get no error:
TO_NUMBER("POLK_A_CT"."MODEBA",'999')
Anyone any clue what is happening? What am I missing?