CREATE ROLE

Creates a new database role in the current database.

Syntax

CREATE ROLE role_name  [;]

Arguments

_role_name_

Is the name of the role to be created.

Permissions

Requires CREATE ROLE permission on the database or membership in the db_securityadmin fixed database role.

Examples

Create the database role buyers.

CREATE ROLE buyers;