Solved

How to bring SQL down to single user mode in a job

Posted on 2013-05-23
2
245 Views
Last Modified: 2013-05-24
Hi,
I have a job that needs to run with all connections stopped in to my database, I would like to have the system go to single user mode (I think this is the correct way but may not) and complete the job at end of the job bring the system back on-line.
what is the best way to do this?
0
Comment
Question by:atorex
2 Comments
 
LVL 11

Accepted Solution

by:
madgino earned 500 total points
ID: 39190817
0
 

Author Closing Comment

by:atorex
ID: 39194031
Thanks, the alter database was perfect!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now