Monday, February 1, 2021

Cannot drop database "abc" because it is currently in use.

We will face the problem:

USE TEstDb;
DROP DATABASE TEstDb;

Solution:

 Use Master

DROP DATABASE TEstDb