Access control
CREATE ROLE
Reference and syntax for the CREATE ROLE command.
Creates a new role.
For more information, see Role-based access control.
Syntax
Parameters
Parameter | Description |
---|---|
<role_name> | The name of the role. |
Example
The following command will create a role “user_role”
Example 2
The following command will create a role “user_role_2”
If “my_role_2” exists, no error message is thrown.