Is this what you're looking for?
w_nseqline := lpad(to_char(w_seqline),6,'0');
Ch
"Eriovaldo do Carmo Andrietta" <[EMAIL PROTECTED]> on 02/27/2001 10:05:27 AM
Please respond to [EMAIL PROTECTED]
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc: (bcc: Chaim Katz/Completions/Bombardier)
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).