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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to redirect output to a file

Re: How to redirect output to a file

From: Howard J. Rogers <hjr_at_dizwell.com>
Date: Thu, 24 Jun 2004 21:32:29 +1000
Message-ID: <40dabbb8$0$16106$afc38c87@news.optusnet.com.au>

"Andy" <usmle96_at_yahoo.com> wrote in message news:bacee0b8.0406240238.63e24a54_at_posting.google.com...
> I am using sqlplus console and would like to direct the output to a
> file. How can I achieve this? Thanks

spool textfilename.txt
select * from ....
update....
insert....
spool off

"Spool", in short, is what you're after
Regards
HJR Received on Thu Jun 24 2004 - 06:32:29 CDT

Original text of this message

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