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

Home -> Community -> Usenet -> c.d.o.server -> Re: Export to a ascii, tab delimited file

Re: Export to a ascii, tab delimited file

From: Marti Rijken <mrijken_at_natrix.gld.nl>
Date: 1998/12/03
Message-ID: <slrn76d5qu.6vv.mrijken@natrix.gld.nl>#1/1

Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl> wrote:
>
>>set trimspool on
>
>Just for completeness (and please correct me if I'm wrong): this will
>not affect the output of normal SQL queries, which might be captured
>from SQL*Plus using redirection.
>
> sqlplus scott/tiger @my_script > my_spool.txt
>
>will still have the trailing blanks.

That is correct. In this case you can trim blanks from the standard output with:

set trimout on

It is a nice option to have in one's login.sql

-- 
   @..@    Marti Rijken <mrijken_at_prv.gelderland.nl>
  (`--')   private mail: mrijken_at_natrix.demon.nl
 ( >__< )  URL:  http://www.natrix.demon.nl/
Received on Thu Dec 03 1998 - 00:00:00 CST

Original text of this message

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