Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Query results to csv file
On Sun, 9 Apr 2006 07:32:35 -0400, "Pat_RI" <pat2469_at_yahoo.com> wrote:
>I need to run a query and have the results published to a csv file. I am a
>relative newbie so any specific help would be much appreciated. The basic
>query below is what I want to export to a csv file.
>
>SELECT
> first,
> middle,
> last,
> soc_sec,
> add_1,
> add_2,
> city,
> state,
> zip,
> phone,
> emp_id
>FROM
> emp_info
>
On http://asktom.oracle.com you will find an utility you can simply feed a sql statement and it will dump it to csv.
-- Sybrand Bakker, Senior Oracle DBAReceived on Sun Apr 09 2006 - 06:37:24 CDT