Home » SQL & PL/SQL » SQL & PL/SQL » Text files
Text files [message #6837] Wed, 07 May 2003 14:31 Go to next message
Kenneth Mora Flores
Messages: 5
Registered: January 2003
Junior Member
Hi. I need to execute a stored procedure and save the result in a text file (txt) automatically. How can I do that? Thanks
Kenneth
Re: Text files [message #6842 is a reply to message #6837] Wed, 07 May 2003 15:15 Go to previous message
Todd Barry
Messages: 4819
Registered: August 2001
Senior Member
You would use a CURSOR FOR loop in the procedure to loop through the result set and the UTL_FILE package to write the results to a text file on the server.

Please see the documentation for examples.
Previous Topic: Procedure Problem
Next Topic: trigger for system view ?
Goto Forum:
  


Current Time: Fri Apr 26 03:08:49 CDT 2024