Solved

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

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
push and Pull replication 31 46
WSUS Console loosed connectivity to the database. 13 35
SQL Query Task 11 42
SQL Throw Error 7 31
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.

713 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