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
Post a Comment