SQL Server – DB is currently in use

Problem Let’s say you’re running in a test/dev environment and you’re trying to alter the database. For example, you may be trying to drop the database: But you get the following error message and your command fails: Cannot drop database “CSI” because it is currently in use. This means there are other open connections on … Read more