/****** Object: Job [syncData_23_00] Script Date: 09/30/2013 16:48:32 ******/
Declare @myJobID varchar(256)
IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N'syncData_23_00')
begin
SELECT @myJobID=job_id FROM msdb.dbo.sysjobs_view WHERE name = N'syncData_23_00'
EXEC msdb.dbo.sp_delete_job @myJobID, @delete_unused_schedule=1
end
上面那样可以不用job_id入手而从job_name 入手,去用脚本修改一个job,
那样子相对会比较省事.