ALTER DATABASE DatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE DatabaseName SET MULTI_USER
GO
Advertisements
ALTER DATABASE DatabaseName SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE DatabaseName SET MULTI_USER
GO
This entry was posted on Monday, October 10th, 2016 at 4:28 pm and is filed under Sqlserver notes. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.