Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server manager close connection

//This should disconnect everyone else, and leave you as the only user:

alter database YourDb set single_user with rollback immediate
//Note: Don't forget

alter database YourDb set MULTI_USER
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #server #manager #close #connection
ADD COMMENT
Topic
Name
2+8 =