USE master GO ALTER DATABASE test SET SINGLE_USER GO ALTER DATABASE test SET EMERGENCY GO DBCC CHECKDB(test,REPAIR_ALLOW_DATA_LOSS) go ALTER DATABASE test SET ONLINE GO ALTER DATABASE test SET MULTI_USER GO
如果你的数据库还处于挂起状态,请把我下面代码的test改为你的库名,然后执行完,刷新就正常了:USE masterGOALTER DATABASE test SET SINGLE_USERGOALTER DATABASE test SET EMERGENCYGODBCC CHECKDB(test,REPAIR_ALLOW_DATA_LOSS)goALTER DATABASE test SET ON...