View Single Post

   
  #1 (permalink)  
Old 02-29-2008, 07:30 PM
coosa
 
Posts: n/a
Default T-SQL CLOSE Connection to DB

How do i close a current connection to a database using t-sql?
I fail some time to drop the database getting messages that it's
currently in use.
Using the wizard to delete the database, i could check the option to
close all connections to the db, but how do i do it using t-sql?

best regards

Reply With Quote