Tuesday, January 13, 2015

SQL Server set DB into Single or Multi User mode.

ALTER DATABASE DB_Name_Here

SET SINGLE_USER WITH ROLLBACK IMMEDIATE

Or Multi_USER

SET Multi_USER WITH ROLLBACK IMMEDIATE

0 Comments:

Post a Comment

<< Home