1樓
prcak47 發(fā)表于:2013/12/18 16:47:15
數(shù)據(jù)庫完整性檢查報(bào)錯(cuò),沒有明確提示
具體提示為:
“檢查數(shù)據(jù)庫完整性”任務(wù) (192.168.9.2)
檢查 本地服務(wù)器連接 上的數(shù)據(jù)庫完整性
數(shù)據(jù)庫: enjoy_store
任務(wù)開始: 2013-12-18T05:14:13。
任務(wù)結(jié)束: 2013-12-18T05:14:14。
失敗:(0) 更改 對(duì)于 服務(wù)器“192.168.9.2”失敗。
打開【SQLSERVER代理】上面的【管理】,打開【SQLSERVER 日志】
在出錯(cuò)的時(shí)間點(diǎn)查詢到日志
日期 2013-12-18 5:14:14
日志 SQL Server (當(dāng)前 - 2013-12-18 16:37:00)
源 spid70
消息
Configuration option 'user options' changed from 0 to 0. Run the RECONFIGURE statement to install.
從網(wǎng)上查詢這句錯(cuò)錯(cuò)信息
得知是因?yàn)樵赟QL Server 2005及以后, 就不允許直接更新系統(tǒng)表了, 所以即便這個(gè)allow updates的設(shè)置是1
執(zhí)行語句
exec sys.sp_configure 'allow updates'
go
查詢 配置信息
執(zhí)行
exec sp_configure 'allow updates', 0;
go
reconfigure;
go
問題解決