--修复页错误
USE [qdTeacher]
GO
alter database [qdTeacher] set single_user
DBCC CHECKDB(qdTeacher,REPAIR_ALLOW_DATA_LOSS)
dbcc checkdb(qdTeacher,REPAIR_REBUILD)
alter database [qdTeacher] set multi_user
GO
--修复页错误
USE [qdTeacher]
GO
alter database [qdTeacher] set single_user
DBCC CHECKDB(qdTeacher,REPAIR_ALLOW_DATA_LOSS)
dbcc checkdb(qdTeacher,REPAIR_REBUILD)
alter database [qdTeacher] set multi_user
GO