SQL2KSP4 sp_addalias and db_accessadmin
From: Yoshihiro Kawabata (yoshihiro_at_kawabata.com)
Date: 05/09/05
- Previous message: Mark J. McGinty: "Re: Disable temporary table creation"
- Next in thread: Sophie Guo [MSFT]: "RE: SQL2KSP4 sp_addalias and db_accessadmin"
- Reply: Sophie Guo [MSFT]: "RE: SQL2KSP4 sp_addalias and db_accessadmin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 10 May 2005 03:48:58 +0900
Hello,
About SQL Server 2000 Service Pack 4,
Below fix point,
http://support.microsoft.com/kb/826822
"FIX: A Member of the db_accessadmin Fixed Database Role Can Create an Alias
for the dbo Special User"
After updated, db_accessadmin login cannot do sp_addalias any more,
even if not 'dbo' alias.
Ex: sp_addalias 'David', 'Gim'
New sp_addalias seem to check this by
DBCC TRACESTATUS('no_output', 4650) with NO_INFOMSGS
but, this dbcc always @@ROWCOUNT = 0 in any login,
even this login is member 'sysadmin', 'dbo', 'db_accessadmin' or not.
My Test Environment:
OS: Windows XP Pro Japanese Edition
DB: SQL Server 2000 Std Edition SP4 Japanese
Conclusion:
After SP4, Cannot db_accessadmin role use sp_addalias ?
Regards,
Yoshihiro Kawabata
MVP for SQL Server.
PASSJ board.
INETA Japan lead.
- Previous message: Mark J. McGinty: "Re: Disable temporary table creation"
- Next in thread: Sophie Guo [MSFT]: "RE: SQL2KSP4 sp_addalias and db_accessadmin"
- Reply: Sophie Guo [MSFT]: "RE: SQL2KSP4 sp_addalias and db_accessadmin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|