开发者

Create a new job in SQL Server 2005 with the use of code

开发者 https://www.devze.com 2022-12-19 06:15 出处:网络
How ca开发者_运维知识库n you create a new job in SQL Server 2005 with the use of code? And not in SQL Server Management Studio.There\'s a series of system stored procedures that you should use as deta

How ca开发者_运维知识库n you create a new job in SQL Server 2005 with the use of code? And not in SQL Server Management Studio.


There's a series of system stored procedures that you should use as detailed on MSDN:

sp_add_job
sp_add_jobstep

Plus a couple more for settings up schedules.


To see how it's done by example, you can make a job in Management Studio, then right-click / script the job out to a query window.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号