1 . 在msdb中先执行下面的语句将维护计划的ID查出。
select * from sysmaintplan_plans
2 . 将查出的ID填入到下面几句话中的 '' 中,并执行。
delete from sysmaintplan_log where plan_id = ''
delete from sysmaintplan_subplans where plan_id = ''
delete from sysmaintplan_plans where id = ''
3 . 在Sql Agent中删除相应的Job(维护计划会自动建立相应的Job).
SqlServer 2005 无法删除维护计划
最新推荐文章于 2024-09-15 09:59:29 发布