欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

SQL2005的維護(hù)計(jì)劃無法刪除的解決方法

 更新時(shí)間:2010年06月09日 01:15:42   作者:  
今天開發(fā)中,發(fā)現(xiàn)維護(hù)計(jì)劃無法刪除刪除了,遂發(fā)現(xiàn)下面的代碼,希望對(duì)碰到類似問題的朋友有所幫助。
1.查看"維護(hù)計(jì)劃"對(duì)象的ID
復(fù)制代碼 代碼如下:

use msdb

select * from sysmaintplan_plans
select * from sysmaintplan_log
select * from sysmaintplan_subplans

2.根據(jù)ID號(hào)刪除相應(yīng)的"維護(hù)計(jì)劃"
復(fù)制代碼 代碼如下:

delete from sysmaintplan_log where plan_id = ' ‘
delete from sysmaintplan_subplans where subplan_id = ' '
delete from sysmaintplan_plans where id = ' '

相關(guān)文章

最新評(píng)論