Solved

Database in emergency mode

Posted on 2012-12-26
3
578 Views
Last Modified: 2012-12-26
Hi,

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
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

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 .

Thanks..
0
Comment
Question by:Sonali Paradkar
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
newmath earned 500 total points
ID: 38722016
Have you looked at this? http://support.microsoft.com/kb/2015760
0
 

Author Comment

by:Sonali Paradkar
ID: 38722112
Hi,

I was able to recover the database by restoring it from the last backup.

Thanks
0
 
LVL 9

Expert Comment

by:newmath
ID: 38722154
Glad you got it going.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question