CREATE ROLE
defines a role
What changes
- Input
- catalog
- Output or change
- security catalog: role
Syntax at a glance
CREATE ROLE role_name [ AUTHORIZATION owner_name ]
Work example
A database team needs a named role for one repeatable job function.
List required permissions first, then assign a test principal and remove any broader inherited role.
Check your work The role grants the task permissions and does not grant database-wide control.
Open Microsoft Learn for full syntax, permissions, and details for your version.