Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Conversion of datatype
I have this sentence in a pl/sql block :
w_nseqline := w_seqline; select lpad(to_char(w_seqline, '00009'), '0') into w_nseqline from dual; w_nseqline := w_seqline;
w_nseqline is char(6);
w_seqline is number(6).
I want the result '00001' but the code above is giving me '1 '
How can I solve it ?
Thanks
Eriovaldo do Carmo Andrietta
ICQ #102604225
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Eriovaldo do Carmo Andrietta
INET: eca_at_widesoft.com.br
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Feb 27 2001 - 09:43:03 CST