Article 3.6.1H : How to Recover SQL Database from Suspect Mode?
Steps to Fix the SQL Server Database Suspect Mode Error
Here are the steps to change ‘SQL database suspect mode to normal mode’ :
- Open SQL Server Management Studio and connect your database
- Select the New Query option
- Turn off the suspect flag on the database and set it to EMERGENCY
EXEC sp_resetstatus ‘db_name’;
ALTER DATABASE db_name SET EMERGENCY
- Perform a consistency check on the master database
DBCC CHECKDB (‘database_name’)
- Bring the database into the Single User mode and roll back the previous transactions
ALTER DATABASE database_name SET SINGLE_USER WITH ROLLBACK IMMEDIATE
- Take a complete backup of the database
- Attempt the Database Repair allowing some data loss
DBCC CHECKDB (‘database_name’, REPAIR_ALLOW_DATA_LOSS)
- Bring the database into the Multi-User mode
ALTER DATABASE database_name SET MULTI_USER
- Refresh the database server and verify the connectivity of database
Note: if any data loss due to step 7 then restore it from backup.