Chinaunix首页 | 论坛 | 博客
  • 博客访问: 255833
  • 博文数量: 188
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: -30
  • 用 户 组: 普通用户
  • 注册时间: 2017-03-29 11:17
文章分类
文章存档

2013年(8)

2012年(5)

2011年(13)

2010年(26)

2009年(63)

2008年(20)

2007年(32)

2006年(21)

分类: 数据库开发技术

2009-09-14 10:07:42

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

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 = ' '
阅读(1190) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~