Syntax
Parameters
| Parameter | Description |
|---|---|
<role_name> | The name of the role. |
Reference and syntax for the CREATE ROLE command.
CREATE ROLE [ IF NOT EXISTS ] <role_name>
| Parameter | Description |
|---|---|
<role_name> | The name of the role. |
CREATE ROLE user_role;
CREATE ROLE IF NOT EXISTS my_role_2
Was this page helpful?