重庆思庄Oracle、Redhat认证学习论坛
标题:
SQLSERVER运行与停止JOB
[打印本页]
作者:
miss_puff
时间:
2018-1-12 17:26
标题:
SQLSERVER运行与停止JOB
SQL Server JOB 运行与停止
--查询 job id
select * from msdb.dbo.sysjobs
--停止job (根据 job id )
EXEC msdb.dbo.sp_stop_job @job_id ='CF53D133-DCFC-4FFE-9A8C-DB514CEF5689'
--运行job (根据 job id )
EXEC msdb.dbo.sp_start_job @job_id ='CF53D133-DCFC-4FFE-9A8C-DB514CEF5689'
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2