Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

write a result table from a SELECT statement in a file

Status
Not open for further replies.

AnnieSt

Programmer
Apr 8, 2003
1
CA
Hi,

I want to create a SQL script to select data from a specific table and send the result in a file with a specific format like .CSV. I'm using SQL +.

Thank you.

Annie
 
set pages 0
set colsep ,
set feedback off
spool <your file name>
select ...
/
spool off

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top