How to close all connections of a database

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top