Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to redirect output to a file
"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