Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Spool To More than 1 File
I have read that in 10g sqlplus you can append to a file, instead of
replacing it. So you can switch between detail files and summary files as
needed.
Ken Naim
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Post, Ethan
Sent: Monday, June 06, 2005 11:46 AM
To: oracle-l_at_freelists.org
Subject: Spool To More than 1 File
One thing I would like to see is the ability to spool output from SQL*Plus
to more than one file at a time. I am writing a script in which I am
spooling the results of each command to "foo" and then grepping the foo file
for the elapsed time and putting it in a log file using "!grep ...". The
problem with this method is that I can't spool the results of the entire
script to another file in the event I want to see the detail.
I could use some "cat" commands to keep moving the results but this seems
like a pretty easy and perhaps usefull feature.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jun 06 2005 - 13:08:33 CDT
![]() |
![]() |