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 -> triming whitespace from output of select * ...

triming whitespace from output of select * ...

From: SN <throne7_at_my-deja.com>
Date: 26 Nov 2001 09:33:46 -0800
Message-ID: <c2ec2c5b.0111260933.38d06202@posting.google.com>


I need to do some exporting of data. What i do is set colsep |
spool fileout.txt
select * from sometables where etc. etc. spool off

Problems: there are too many white spaces between each of the fields in the output file. How do I get rid of these whitespaces. I would like to do this in the sqlplus select statement if possible.

Forgive me if this is a faq. Havent' really got a chance to get a copy of the faq. Received on Mon Nov 26 2001 - 11:33:46 CST

Original text of this message

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