Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Generating SQL Output files

576644Nov 12 2009 — edited Nov 16 2009
Hi,

I have got 5 tables in my schema and I want to generate output files using data from all these tables to an output file through a stored procedure.

I do not want to use UTL_FILE package to do this. We are using UNIX operating system and files should directly be stored into these fixed folders.

I thought about using SPOOL utility, it stores all the SQL command output in the given file, but
it stores the output file under SQL*Plus bin folder in the local work station.

Please share your ideas and suggestions to get the best method available for this requirement, thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2009
Added on Nov 12 2009
6 comments
826 views