Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> CHAR TO NUMBER - NUMBER TO CHAR
I have to converse a datatype from CHAR(4): '0004', to NUMBER: 4. Then I
add 1 to this number: 4 + 1 = 5. I converse it to CHAR again but, when I
select this value from the table I just get 5 and not 0005 as I want. It's
still a CHAR(4) but it appears only with one character and not four as it
should.
How could I do to obtain '0005' and not '5' ?
Thanks.
Félix
Received on Fri Sep 28 2001 - 04:21:54 CDT