Copy the script into a query window and run it. Change the object for the @OBJECT_ID parameter and the permission name for the @PERMISSION_NAME parameter as appropriate.
Setting Permissions to Drop a Database
Learn which permissions are required to drop a database and see a test to show that these apply.
2018-07-17
21,247 reads