当前位置: > 数据库 > SQL Server 2005 >

sql server 2005维护计划无法删除怎么办呢?

时间:2014-09-08 21:31来源:linux.it.net.cn 作者:it
解决sql server 2005维护计划无法删除的问题。

一、首先,查找"维护计划"对象的ID
 

复制代码代码示例:

use msdb

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

二、然后,根据ID号删除相应的"维护计划"
 

复制代码代码示例:
delete from sysmaintplan_log where plan_id = ' ‘
delete from sysmaintplan_subplans where subplan_id = ' '
delete from sysmaintplan_plans where id = ' '
(责任编辑:IT)
------分隔线----------------------------