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

Home -> Community -> Usenet -> c.d.o.misc -> Re: formatting output with SQL*Plus

Re: formatting output with SQL*Plus

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Wed, 8 Dec 2004 18:26:01 -0000
Message-ID: <41b7472f$0$19161$cc9e4d1f@news-text.dial.pipex.com>


"Thomas Kellerer" <NNGNVRDSJEBN_at_spammotel.com> wrote in message news:31oqp1F3d2fp2U1_at_individual.net...
> What I'm basically doing is:
>

<snip>
> spool output.txt
>
> SELECT column1,column2, column3
> FROM my_table;
>
> spool off
>
> Is there any way to remove the trailing spaces in the column values?

cheap and ugly select trim(column1),trim(column2) ....

-- 
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com 
Received on Wed Dec 08 2004 - 12:26:01 CST

Original text of this message

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