June 19, 2013 at 5:05 am
HI ALL,
I am experimenting with one of my test databases . I intentionally set the database to emergency mode.But now it is not coming out from that mode. I tried dbcc but it doesn't print any errors. Any one has any alternatives solution for this.
June 19, 2013 at 5:20 am
ALTER DATABASE [dbname] SET ONLINE
'Only he who wanders finds new paths'
June 19, 2013 at 5:26 am
CheckDB with repair allow data loss or restore from backup.
p.s. Emergency mode is the last resort for when you have a suspect database and no good backup. It's never the first thing that you should use or try
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 19, 2013 at 5:32 am
June 19, 2013 at 5:52 am
actually i am trying to find whether we can take tail log backup for a database in emergency mode. and finally i stuck up in this emergency mode.
i tried alter database commands no use.
June 19, 2013 at 6:18 am
Alter database xxx set online worked fine now and it came out of emergency mode. But the same command doesn't work for previous attempts ... i am surprised. Can i find reasons from any logs or any where.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply