ALTER DATABASE TOPPower_NET SET EMERGENCY
go
ALTER DATABASE TOPPower_NET SET SINGLE_USER ----修改数据库为单用户模式
go
DBCC CheckDB (TOPPower_NET,REPAIR_ALLOW_DATA_LOSS) ----修复数据库
go
DBCC CheckDB (TOPPower_NET,REPAIR_REBUILD) ----重建
go
ALTER DATABASE TOPPower_NET SET MULTI_USER ----恢复多用户
go
数据库联机
ALTER DATABASE TOPPower_NET SET ONLINE