How do I retrieve information about a SQL Server Agent job scheduled against databases on SQL server 2005?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
migrated from stackoverflow.com Jan 3 '12 at 16:26
This question came from our site for professional and enthusiast programmers.
Jobs are DB agnostic: the steps that comprise a job may have a database context
sysjobsteps has a database_name column
You can join this back to sysjobs and the other related tables to get what you need.
Based on your comment string with gbn, I'd recommend that you connect to the SSIS instance using SSMS. Then you would find the specific package (under "Stored Packages" and either "File System" or "MSDB") and right-click the package and export it. You'd wand to choose "File System" for the destination. The you can edit the package inVS.