Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: newbie question - Exporting a query into a text file
Use SQL*Plus with the spool command:
set head off
set feedback off
set pagesize 0
set trimout on
set trimspool on
spool myfile.txt
select name || ',' || address from details;
spool off
Phong Lam wrote in message <377154F1.69337020_at_us.ibm.com>...
>Is it possible to run a query in Oracle and then dump it into a flat
>text file? I'm running 7.3.4
>
>Thanks
>
Received on Wed Jun 23 1999 - 17:59:57 CDT