Is there an easy way to delete a user with db_owner rights?

有帮助吗?

解决方案

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?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top