Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: CHAR TO NUMBER - NUMBER TO CHAR
Michel Cadot (micadot_at_netcourrier.com) wrote:
: v817>select to_char(to_number('0004','0000')+1,'0000') from dual;
: TO_CH
: -----
: 0005
: 1 row selected.
The lpad function could solve it as well if michels quick/elegant solution doesn't your exact situation. Received on Fri Sep 28 2001 - 11:36:33 CDT