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

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

Export all documents/Folders permissions to CSV using SharePoint PowerShell

SPUtility.js