SQL Server/T-SQL Tutorial/System Functions/sp AddSrvRoleMember
Версия от 13:46, 26 мая 2010; (обсуждение)
A statement that assigns a user to a server role
EXEC sp_AddSrvRoleMember JohnDoe, sysadmin
How to assign a user to a server role
The syntax for sp_AddSrvRoleMember
sp_AddSrvRoleMember [@loginame = ] "login_ID",
[@rolename = ] "server_role_name"