Query to close all active connections to MS SQL database:
use master
go
alter database PrimumII_LoadTest
set single_user with rollback immediate
go
alter database PrimumII_LoadTest
set multi_user
go
Mycodefunda.blogspot.com contains coding tricks,tips and examples of solutions worked on technologies like C# ,Asp.net ,.net, Vb.net ,XML ,Scripts ,Css ,Jquery ,Html ,Javascript , Wcf ,Wpf ,Ms Sql etc.