您现在的位置:IT之家 >> 学院>> 数据库开发教程>> MySQL教程 >> 正文内容
同级栏目:
SQL Server教程MySQL教程Oracle教程Access教程DB2教程Sybase教程FoxPro教程
>内容阅读:

MS SqL2000 数据库置疑状态的解决方案详解

作者: 来源: 时间:2010年02月06日 【字体:

MS SqL2000 数据库置疑状态的解决方案详解

对数据库进行修复
sp_configure 'allow updates',1
reconfigure with override
update sysdatabases set status=32768 where name='CotBase12009'

sp_dboption 'CotBase12009','Single user','true'

dbcc checkdb('CotBase12009')
update sysdatabases set status=28 where name='CotBase12009'
sp_configure 'allow updates',0
reconfigure with override
sp_dboption 'CotBase12009','single user','False'

sql2000中MSDB数据库置疑状态的解决方法
问题:我的SQL Server 2000的MSDB数据库,因为不正常关机,造成了置疑状态,请问采用什么方法能够弥补?
解决方法一:你可以采用以下的代码进行修复:
  
USE MASTER
GO
SP_CONFIGURE 'ALLOW UPDATES',1
RECONFIGURE WITH OVERRIDE


共5页 您在第1页 首页 上一页 1 2 3 4 5 下一页 尾页 跳转到页 本页共有890个字符