Solved

stop a database from serving requests... but not the instance

Posted on 2014-11-07
2
139 Views
Last Modified: 2014-11-07
I want to take a database offline.  there are mulitiple databases on this sql instance.  I don't want to detach the database and i don't want the other databases in the sql instance to be affected at all.

the database that needs to go offline needs to not allow users to connect at all
i have sql 2008 and another server running sql 2012.
how can i accomplish this?

Thank you
0
Comment
Question by:jamesmetcalf74
2 Comments
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40429293
Disable the users, or Change maximum number of connections to 0.

Or, simplest, back it up with NoRecovery.
0
 
LVL 24

Accepted Solution

by:
Mohammed Khawaja earned 250 total points
ID: 40429445
Or right click on the database and select the option to take database offline
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

18 Experts available now in Live!

Get 1:1 Help Now