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: Query results output - URGENT

Re: Query results output - URGENT

From: Jerry Gitomer <jgitomer_at_erols.com>
Date: Wed, 15 Dec 1999 00:37:44 -0500
Message-ID: <38572927.890EE7A8@erols.com>


SET colsep ','
SET pages 0
SET lines <nnn>
SET feedback OFF

SPOOL <file_name>.<ext>

SELECT * FROM <table_name>;

SPOOL OFF hth
jerry gitomer

Ed Perry wrote:

> I need to output the results of a query (executed in SQLPlus3.3 against
> Oracle7.3) to a comma-delimited text file. How can this be done? What
> is the easiest solution? The query returns about 15 fields of data for
> 25,000 records. I am at a client site tomorrow (Dec. 15) and need this
> for resolution. Thanks in advance to any/all respondants.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
Once I figured out how to spell DBA I became one Received on Tue Dec 14 1999 - 23:37:44 CST

Original text of this message

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