您好,欢迎访问一九零五行业门户网

一卡通数据库质疑修复办法

以下是数据库名称是tonsoft 为例,打开查询分析器,吧以下语句在查询分析器执行就可以
use master
go
sp_configure 'allow updates',1 reconfigure with override
go
update sysdatabases set status =32768 where name='tonsoft'
go
sp_dboption 'tonsoft', 'single user', 'true'
go
update sysdatabases set status =28 where name='tonsoft'
go
sp_configure 'allow updates', 0 reconfigure with override
go
sp_dboption 'tonsoft', 'single user', 'false'
go
dbcc checkdb('tonsoft')
go
alter database tonsoft set single_user
exec sp_dboption 'tonsoft','dbo use only','false'
其它类似信息

推荐信息