When I try to drop a database in my builtin synapse pool, I'm getting the following error:
Cannot drop database "database name" because it is currently in use.
I've tried in both SSMS and Studio Synapse Studio and both returned errors.
I made sure there's no external datasources and file formats in the database.
The SSMS command I used was:
DROP DATABASE [database name]
Set Single_use mode doesn't work either. If you try this:
ALTER DATABASE [Database Name] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
You'll get this:
SINGLE_USER is not supported for ALTER DATABASE.
What blocks a database from being dropped in synapse?
Thanks.