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: Bricklen Anderson <bricklen_at_shaw.ca>
Date: Tue, 30 Apr 2002 17:39:54 GMT
Message-ID: <3CCED610.85172AC9@shaw.ca>


Look into

set termout off
<your query here>
set termout on

http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a82950/ch1.htm#1001102

Kristoffel wrote:
>
> 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

-- 
 
 
 -----------------------------
* http://pipers.hypermart.net *
 -----------------------------
Received on Tue Apr 30 2002 - 12:39:54 CDT

Original text of this message

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