Recover a database from Suspect State
Recover a database from Suspect State
Step1:- ALTER DATABASE DbName SET EMERGENCY
DBCC checkdb('DbName')
ALTER DATABASE DbName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('DbName', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE DbName SET MULTI_USER