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: Only select data in spool-file

Re: Only select data in spool-file

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 30 Apr 2002 19:16:13 +0200
Message-ID: <ud023798posv4a@corp.supernews.com>

"Kristoffel" <krd_at_pandora.be> wrote in message news:3CCED027.53CBB87D_at_pandora.be...
> Hi,
>
> I want only the selected data in a spool-file (I use sqlplus 8.1.7 for
> NT4).
>
> set pagesize
> set echo off
> spool xxxx
> select ..... from .... ;
> spool off
>
> But I still have the select query and the spool-msg in the spool file.
> Are there other settings that I overlook?
>
> Kristoffel
>
>

Save the code above to a file and run it with @<filename>
and you will be OK

Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Tue Apr 30 2002 - 12:16:13 CDT

Original text of this message

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