Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spool file help

Status
Not open for further replies.

umeman

Technical User
Oct 2, 2001
59
US
DBA's

Is there a way to spool the output of multiple queries
to a spool file without the query being sent to the spool
file. I have tried

set feedback off
set echo off

However the query still gets sent to the spool file

e.g

sql> set feedback off;

sql> set echo off;

sql> spool c:\test.out

sql> select * from emp;

sql> select * from sal;

sql> spool off

I do not want the 2 select statements in the spool file.

Any help appreciated

Thanks
-u-
 

SET VERIFY OFF
SET SHOW OFF
Robbie

"The rule is, not to besiege walled cities if it can possibly be avoided" -- Art of War
 
You need
SET SERVEROUT OFF
Another useful options are:
SET VERIFY OFF - if using lexical variables (&)
SET TERMOUT OFF - to prevent screen output
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top