I cannot drop custom databases in Azure Data Studio, because they are currently in use.
I've been looking for various ways to close the zap
database, but I cannot find any in the UI.
Only by restarting Azure Data Studio, is the zap
database in an "Auto Closed" state, which lets me drop it using:
drop database zap;
How do I close a connection to a database without restarting Azure Data Studio?
USE master;ALTER DATABASE zap SET SINGLE_USER WITH ROLLBACK IMMEDIATE;DROP DATABASE zap;