sqlpubwiz

Automatically create scripts for all SQL Server Jobs

ぐ巨炮叔叔 提交于 2019-12-13 11:46:27
问题 Currently I'm trying to automatically generate a create script for all my SQL jobs of a MS SQL2005 Server. One method I found was done manually http://msdn.microsoft.com/en-us/library/ms191450.aspx A second method I found could be done automatically but I don't have direct access to the SQL server. http://relatedterms.com/thread/1916663/Can%20I%20script%20out%20SQL%20Server%20jobs%20programmatically Does anyone know a good TSQL statement or a simple program for this? 回答1: I use this Stored

Automatically create scripts for all SQL Server Jobs

别来无恙 提交于 2019-12-03 14:34:46
Currently I'm trying to automatically generate a create script for all my SQL jobs of a MS SQL2005 Server. One method I found was done manually http://msdn.microsoft.com/en-us/library/ms191450.aspx A second method I found could be done automatically but I don't have direct access to the SQL server. http://relatedterms.com/thread/1916663/Can%20I%20script%20out%20SQL%20Server%20jobs%20programmatically Does anyone know a good TSQL statement or a simple program for this? I use this Stored Procedur for create script from all job in one database : USE msdb Go EXEC sp_configure 'show advanced options