Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-05-23
2
Medium Priority
?
260 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 2000 total points
ID: 39190817
0
 

Author Closing Comment

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Ready to get certified? Check out some courses that help you prepare for third-party exams.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

824 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