加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

SQL2005的维护计划无法删除的解决方法

发布时间:2020-12-12 09:41:29 所属栏目:MsSql教程 来源:网络整理
导读: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

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 = ' '

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读