Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Leading spaces in dbms_output.put_line

Re: Leading spaces in dbms_output.put_line

From: <JayK_at_ibsplc.com>
Date: Tue, 17 Dec 2002 06:18:44 -0800
Message-ID: <F001.0051B2CB.20021217061844@fatcity.com>


Hi Steve,
Try using :

declare
a varchar2(20):='JAI';
begin
dbms_output.put_line(chr(9)||a);
end;

Regards
Jai

Steven Haas <steven.haas_at_snet.net>
Sent by: root_at_fatcity.com
12/17/02 01:44 AM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Leading spaces in dbms_output.put_line


Good afternoon,

Some time ago there was a response to the question of how to get leading spaces to display when using dbms_output.put_line.

I have tried -
dbms_output.put_line(' '||tabrec.table_name);

but do not get the leading spaces.

When someone mentioned how to do this I said "of course" but naturally have forgotten the technique.

Can some one share?

Thanks folks...



Steve Haas
Opus Consultants, LLC
860.408.1512 (office/fax)
860.651.9475 (home)
steven_haas_at_opus-consultants.com
steven.haas_at_snet.net
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Steven Haas
  INET: steven.haas_at_snet.net
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: JayK_at_ibsplc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Dec 17 2002 - 08:18:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US