Database in emergency mode
Posted on 2012-12-26
One of the database in our production server had been in suspect mode.
I tried using the below command to recover it :
EXEC sp_resetstatus 'dbname';
ALTER DATABASE dbname SET EMETEGENCY
ALTER DATABASE dbname SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('dbname', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE dbname SET MULTI_USER
However when i ran the above command it went into emergency mode and i get the below message:
The Database ID 8, Page (1:159), slot 0 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run DBCC CHECKTABLE.
Please advise what should be my next steps to recover the database .