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

SQL server Jobs

Status
Not open for further replies.

Jamfool

IS-IT--Management
Apr 10, 2003
484
GB
Hi All

Has anyone got a script to export all server jobs to individual files? so that they can be recreated later
 
The best way is to right click in Enterprise manager and script to file. If you go through each job individually then this will result in a single file per job, or alternatively select the root folder and script all jobs in one file.
As far as a script for exporting them into seperate files per job, I am sure if you profiled this in SQL it would highlight the procs SQL calls to generate the files.


"I'm living so far beyond my income that we may almost be said to be living apart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top