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

Home -> Community -> Usenet -> c.d.o.tools -> Re: DBMS_OUTPUT.PUT_LINE question

Re: DBMS_OUTPUT.PUT_LINE question

From: <johnhv_at_iinet.net.au>
Date: 2000/06/07
Message-ID: <8hlbqo$u1b$1@electron.atoms>#1/1

Turdcutter <Turdcutter_at_eremove.edu> wrote:
> How do you get this function to insert leading spaces?
> DBMS_OUTPUT.PUT_LINE(' '|| var1)
> gives no leading spaces
> ?????

This is is know 'feature' of dbms_output.

I gave up trying any sort of formatted output with dbms_output & resorted to inserting the lines in a table, then reading it out at then end.

This kills two birds with one stone:

  1. I can see the output as the script runs,
  2. I can control the formatting exactly.

> thank you

Your welcome...

-- 
 _--_|\  John Verhoeven           Unix / Database Administrator Westrail
/      \       johnhv_at_iinet.net.au / jverhoeven_at_westrail.wa.gov.au
*_.--._/
      v   "Smile! things could be worse... So I did... and they were..."
Received on Wed Jun 07 2000 - 00:00:00 CDT

Original text of this message

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