文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>数据库置疑心得

数据库置疑心得

时间:2011-05-23  来源:a1746172

1.数据库备份
2.执行下面语句
use master  
go  
sp_configure 'allow updates',1 reconfigure with override  
go  
update sysdatabases set status =32768 where name='置疑的数据库名' 
go  
sp_dboption '置疑的数据库名', 'single user', 'true' 
go  
dbcc checkdb('置疑的数据库名')   
go  
update sysdatabases set status =28 where name='置疑的数据库名' 
go  
sp_configure 'allow updates', 0 reconfigure with override  
go   
sp_dboption '置疑的数据库名', 'single user', 'false' 
go 
3.重启数据库
4.新建数据库与置疑数据库同名
5.用原数据库替换新建数据库
6.附加数据库

相关阅读 更多 +
排行榜 更多 +
进击的小动物安卓版

进击的小动物安卓版

飞行射击 下载
进攻yalghaar

进攻yalghaar

飞行射击 下载
深空战场

深空战场

飞行射击 下载