سؤال

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