How to delete user with db_owner rights?
-
24-01-2021 - |
Question
Is there an easy way to delete a user with db_owner rights?
Solution
There's a subtle distinction between being the dbo of a database and having db_owner rights.
Have you tried setting another user as the dbo of the database (see sp_changedbowner), then removing the original owner's rights before deleting?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow