Icon ALTER ROLE

Alters an existing role.

Syntax
ALTER ROLE <Name>
[DESCRIPTION <Description>]
[ATTRIBUTES <CustomAttributes>]

Use this statement to alter an existing role.

Information All clauses are optional. If they are not specified, then they will not be altered and will stay the same as before the ALTER ROLE statement was executed.

-- The following statement changes the description of the Cashier role.

ALTER ROLE "Cashier"
DESCRIPTION 'Cashier role'

Required Privileges
The current user must be granted the system-defined Administrators role in order to execute this statement. Please see the User Security topic for more information.

SQL 2003 Standard Deviations
This statement deviates from the SQL 2003 standard in the following ways:

DeviationDetails
ExtensionThis SQL statement is an ElevateDB extension.
Image