How to close all connections of a database

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I use sp_detach_db to detach a database, but it fail when threre are some
connections to the database.
How can I close all connections of this database before I detach it?
 
Back
Top