Greg -
When I'm doing this sort of thing I run the following:
set echo off termout off heading off verify off feedback off newpage none
set echo - controls whether or not the command is displayed when the command
is run by START or @
set termout - controls whether or not the output is displayed when the
command is run by START or @
set heading - turns off headers
set verify - controls whether or not the bind variable replacements are
displayed (that is the line before the replacement is made and the line
after)
set feedback off - turns off the number of rows returned
newpage - sets number of lines printed at the top, before the title
But the most important part is running 'sqlplus -s'. This causes sqlplus to
run in silent mode and suppresses all the sqlplus info, commands, banner,
etc.
set echo and set termout won't work for you unless you are running a command
file.
HTH
Linda
-----Original Message-----
Sent: Wednesday, April 25, 2001 9:15 AM
To: Multiple recipients of list ORACLE-L
Thanks all for replay.
I knew echo should work, but for some reason it does not.
SQL> set echo off
SQL> set hea off
SQL> spool test.sql
SQL> select sysdate from dual;
25-APR-01
SQL> spool off
SQL> !more test.sql
SQL> select sysdate from dual;
25-APR-01
SQL> spool off
Any ideas?
Thanks.
Greg.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
> Hazelton
> Sent: Tuesday, April 24, 2001 5:29 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: spool command
>
>
> SET ECHO OFF
>
>
> ----Original Message Follows----
> Reply-To: [EMAIL PROTECTED]
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Date: Tue, 24 Apr 2001 12:12:16 -0800
>
> This is a multi-part message in MIME format.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Peter Hazelton
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gregory Faktor
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Seley, Linda
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).