Steps to fix SQL database from SUSPECT mode:
EXEC sp_resetstatus ‘db_name’; ALTER DATABASE db_name SET EMERGENCY
DBCC CHECKDB (‘database_name’)
ALTER DATABASE database_name SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CHECKDB (‘database_name’, REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE database_name SET MULTI_USER
Refresh the database server and verify the connectivity of database
Read this blog: https://www.stellarinfo.com/blog/recover-sql-database-from-suspect-mode/
Solutions to fix corrupted DB
As, ID 2 means non-clustered index then, drop and recreate the index is a better solution. Right-Click on the non-clustered index and select Script Index as DROP and CREATE to New Query Window. Verify that the Drop-Create service has resolved the issue. Run the command DBCC CHECKDB — run DBCC CHECKDB to ensure the database is back to normal
DBCC CHECKDB (‘DatabaseName’) with NO_INFOMSGS
21 People are following this question.