【SQL】SQL Server数据库置疑解决方法

来源:互联网 发布:2017大数据产业峰会 编辑:程序博客网 时间:2024/06/05 14:22
use mastergosp_configure 'allow updates',1goreconfigure with overridegoupdate sysdatabases set status=-32768 where dbid=DB_ID('置疑的数据库名')godbcc rebuild_log('置疑的数据库名','置疑数据库的新日志的路径及文件名')gosp_dboption '置疑的数据库名','dbo use only','false'gosp_configure 'allow updates',0goreconfigure with overridego

0 0
原创粉丝点击