Home Forums SQL Server 2005 SQL Server 2005 General Discussion Server login assigned to "dbo" user within database RE: Server login assigned to "dbo" user within database
spaghettidba
SSC Guru
Points: 105732
More actions
August 11, 2009 at 7:48 am
#1037414
Have you tried sp_droprolemember 'db_owner', 'yourAccount'?
An alternative to this is sp_dropalias 'yourAccount', which is deprecated but should still work.
-- Gianluca Sartori