............ Have a nice day............
USER MENU ID IS UNDEFINED IN FINACLE MIS SERVER   Date of Implementation of "VERY GOOD" Bench Mark for MACPs effect from 25.07.2016   Expected DA from Jan 2017 – 3% or 2% ?    One minute talk time for each Rupee in Airtel Payments Bank   AICPIN for October 2016 : Chances for 5% DA from January 2017   Central Government employees retiring from January 2017 to submit online application   Pre-Budget Views of Govt. Employees for inclusion in the Budget for the Year 2017-18: Confederation i.e. Scrap NPS, Minimum Wage Rs. 26,000 & Fitment Formula etc   On Salary Week, Banks Unlikely to Meet Demand for Extra 1 Lakh Cr   82 per cent ATMs dry because government used that money to pay its own employees   National Anthem Before Movie, Rules Supreme Court. Citizens 'Duty-Bound' To Show Respect    undefined

Monday, 4 March 2013

Who changed my DB to single user mode?


In SQL 2000 server (developer edition with sp4).   Some databases keeps changing themselve into single user mode.
    
How to fix the problem permanently.
1. SQL Server does not automatically change databases to "single user" for any reason.  Some user process is   doing this.   Look at your SQL Agent jobs.
This was a fairly common thing for a DBA to do before doing maintenance.  You might have a scheduled backup or something which is doing this.
2. First you might want to run Profiler to capture what is causing the db to change into single user mode.
3. Generally, DBA may have to set a database to single-user mode for the maintenance actions. To stop single-user mode, run the following commands:
USE master;
Go
ALTER DATABASE AdventureWorks
SET MULTI_USER;
GO

No comments:

Post a Comment