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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Write table columns to an external data file

Re: Write table columns to an external data file

From: news.bellglobal.com <azzeddine.saadi_at_pcsinnovations.com>
Date: Tue, 24 Jul 2001 17:50:16 -0400
Message-ID: <J0m77.8406$A4.825440@news20.bellglobal.com>

Try this:

SQL> spool filename.ext
SQL> select name, address_1, address_2, city, state, amt

          from customer;
SQL> spool off

"E. Paul" <pwinston99_at_gsm.uci.edu> wrote in message news:3B5DE550.923C74C8_at_gsm.uci.edu...
> How would I write the result of a select to an external data file?
>
> something like this
>
> select name, address_1, address_2, city, state, amt
> from customer
>
> "to an external ouput file"
>
>
> Thanks in advance
>
Received on Tue Jul 24 2001 - 16:50:16 CDT

Original text of this message

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