mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
11 lines
333 B
Transact-SQL
11 lines
333 B
Transact-SQL
-- ====================================
|
|
-- Drop Server Role Member template
|
|
-- ====================================
|
|
USE [master]
|
|
GO
|
|
|
|
-- Revoke membership of an existing principal from a server role
|
|
ALTER SERVER ROLE [<server_role_name, sysname, Server_Role_Name>]
|
|
DROP MEMBER [<server_principal, sysname, Server_Principal_Name>]
|
|
GO
|