0 pts.
 Disaster Recovery
How to get database back in disaster recovery when database is in emergency mode in sql server 2005 is there any option to update master then take a backup --please let me knw---

Software/Hardware used:
ASKED: November 12, 2007  10:40 AM
UPDATED: December 2, 2007  11:44 AM

Answer Wiki:
If the database has been repaired you can simply put the database back into an online state using the ALTER DATABASE command. <pre>ALTER DATABASE DatabaseName SET ONLINE</pre> If the database is still corrupt you can not do this, as the database will still report as corrupt and mark it self as suspect. You have to restore the database to another name, then move the missing data (that you can access) from the corrupt database to the restored database. Onve you have the data, you can drop the corrupt database, rename the restored database and get the system working again. Don't forget to backup the database when you are all done.
Last Wiki Answer Submitted:  December 2, 2007  11:44 am  by  Denny Cherry   64,520 pts.
All Answer Wiki Contributors:  Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _