EXEC sp_resetstatus 'DBname'
ALTER DATABASE "DBname" SET EMERGENCY
DBCC checkdb('DBname')
ALTER DATABASE "DBname" SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('DBname', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE "DBname" SET MULTI_USER
ALTER DATABASE "DBname" SET EMERGENCY
DBCC checkdb('DBname')
ALTER DATABASE "DBname" SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('DBname', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE "DBname" SET MULTI_USER
No comments:
Post a Comment