Execute the following script from the master database catalog:
USE MASTER
ALTER DATABASE MyDBName SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER DATABASE MyDBName SET MULTI_USER
0 comments:
Post a Comment