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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing into Files from Stored Procedures

Status
Not open for further replies.

MarcAureleSeverus

Programmer
May 5, 2009
1
0
0
FR
Hello Everybody,

I'm trying to write the result set of a sql query into a file, from a stored procedure.

My purpose is to make possible this : when an external program access to my database, a trigger is called. This trigger then backups the result set of the query into a file.

I have no idea of how to write a file from a trigger or a stored procedure, so any help is welcome ;)

 
You may use the SYSTEM statement in SPL.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top