ALTER DATABASE DatabaseName SET EMERGENCY
ALTER DATABASE DatabaseName SET SINGLE_USER
DBCC CheckDB (DatabaseName, REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE DatabaseName SET multi_USER
正文完
ALTER DATABASE DatabaseName SET EMERGENCY
ALTER DATABASE DatabaseName SET SINGLE_USER
DBCC CheckDB (DatabaseName, REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE DatabaseName SET multi_USER