1. 程式人生 > >SQLServer2005 維護計劃 無法刪除

SQLServer2005 維護計劃 無法刪除

clas pos itl 維護計劃 from id號 ans lan 維護

1.查看"維護計劃"對象的ID

use msdb
select * from sysmaintplan_plans
select * from sysmaintplan_log
select * from sysmaintplan_subplans


2.根據ID號刪除相應的"維護計劃"
delete from sysmaintplan_log where plan_id = ‘‘
delete from sysmaintplan_subplans where subplan_id = ‘‘
delete from sysmaintplan_plans where id = ‘‘

SQLServer2005 維護計劃 無法刪除