How to Restore SQL Server 2008 R2 Suspect Database


EXEC sp_resetstatus 'YourDatabaseName';
ALTER DATABASE YourDatabaseName SET EMERGENCY
DBCC checkdb('YourDatabaseName')
ALTER DATABASE YourDatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('YourDatabaseName', REPAIR_ALLOW_DATA_LOSS)

ALTER DATABASE YourDatabaseName SET MULTI_USER


Hope this will helps you !!!

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell