Solved

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

Posted on 2013-05-23
2
251 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

816 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

9 Experts available now in Live!

Get 1:1 Help Now