Quantcast
Channel: Which method is better to drop all user connections before a restore Change to single user mode or Take offline the database? - Database Administrators Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by user507 for Which method is better to drop all user connections...

I tend to use OFFLINE strictly because on active instances trying to set a database to SINGLE_USER and be the single user that connects is not always consistent. If you set it offline that is it, it is...

View Article



Answer by James Anderson for Which method is better to drop all user...

I would set it offline. I say this because SINGLE_USER mode is generally used to allow an administrator to perform some kind on maintenance on a database without users attempting to access and possibly...

View Article

Which method is better to drop all user connections before a restore Change...

When we restore a database from prod to dev which method is better to disconnect other connection accessing the database? I am on SQL Server 2008r21. Change to Single user modeuse masterGoALTER...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images