DROP ROLE
removes a role
What changes
- Input
- catalog
- Output or change
- security catalog: role
Syntax at a glance
DROP ROLE [ IF EXISTS ] role_name
Work example
A database role is retired after members and permissions move.
List direct members, nested role membership, grants, ownership, and application dependencies.
Check your work No user or role depends on the removed role and required access exists through its replacement.
Open Microsoft Learn for full syntax, permissions, and details for your version.