Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> spool command

spool command

From: Gregory Faktor <gfaktor_at_ecal.com>
Date: Tue, 24 Apr 2001 12:37:55 -0700
Message-ID: <F001.002F1115.20010424121216@fatcity.com>


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.


Received on Tue Apr 24 2001 - 14:37:55 CDT

Original text of this message

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