Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: spool command
SET ECHO OFF;
Scott Shafer
San Antonio, TX
210-581-6217
> -----Original Message-----
> From: gfaktor_at_ecal.com [SMTP:gfaktor_at_ecal.com]
> Sent: Tuesday, April 24, 2001 3:12 PM
> To: Multiple recipients of list ORACLE-L
> Subject: spool command
>
> Hi All!
> It's is possible to spool just output of command , not command itself.
>
> SQL> select sysdate from dual;
>
> 24-APR-01
>
> SQL> save sys.sql
> Created file sys.sql
> SQL> spool test.sql
> SQL> @sys.sql
> SQL> spool off
> SQL> ed test.sql
>
> SQL> @sys.sql
>
> 24-APR-01
>
>
> SQL> spool off
>
> I would like to have in my test.sql file just:
> 24-APR-01.
>
> Thanks.
> Greg. << File: winmail.dat >>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Scott.Shafer_at_dcpds.cpms.osd.mil 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: ListGuru_at_fatcity.com (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).Received on Tue Apr 24 2001 - 15:26:35 CDT
![]() |
![]() |