About
Pricing
Community
Teams
Start Free Trial
Log in
Larry Brister
asked on
4/12/2018
MS SQL Server return from Emergency Mode
I had a database I could not access until I set it using the following...
ALTER DATABASE emergencydemo SET EMERGENCY;
GO
ALTER DATABASE emergencydemo SET SINGLE_USER;
How do I get it back to normal mode?
Databases
Microsoft SQL Server
Microsoft SQL Server 2005
3
1
Last Comment
Russ Suter
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Russ Suter
4/12/2018
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Larry Brister
4/12/2018
ASKER
Thanks
Russ Suter
4/12/2018
I should emphasize that data loss IS a possibility with this command.
You could first try
DBCC CHECKDB (emergencydemo, REPAIR_REBUILD) WITH NO_INFOMSGS;
GO
Good luck!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck