Home Forums Article Discussions Article Discussions by Author Discuss content posted by Rafal S. Kill all connection to database RE: Kill all connection to database
Oliver Wootton
SSC Veteran
Points: 291
More actions
May 19, 2011 at 6:54 am
#1327022
--Kill all users instantly
use master
go
alter database test set offline with rollback immediate
alter database test set online