Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emergency Status on Database

Status
Not open for further replies.

kgreer

MIS
Jul 18, 2003
155
US
I have a database in Emergency Status mode. I can not find anything that tells me how to reverse it back to normal status. HELP ANYONE.
 
When it is in Emergency Mode, the best you can hope for is getting the data out. Here is a FAQ I created in this very subject matter. Hope it help!

faq962-4210

Thanks

J. Kusch
 
I dont know if you can. This may work but i make no guarntees. Usually when a database is in emergancy mode, you have no other choice than to start exporting data. Ive never tried it for real. I know that doing this will take it out of emergancy mode, but im unsure if it has any affect on the database.

USE master
GO
sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO

UPDATE master..sysdatabases
SET status = 16
WHERE name = 'DatabaseName'

Stop and restart all sql server services.
 
I am starting to copy the data into a new database. then I am going to try to restore the old one. Hope this works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top