CREATE-ROLE
CREATE-ROLE​
Name​
CREATE ROLE
Description​
The statement user creates a role
CREATE ROLE role_name [comment];
This statement creates an unprivileged role, which can be subsequently granted with the GRANT command.
Example​
-
Create a role
CREATE ROLE role1;
-
Create a role with comment
CREATE ROLE role2 COMMENT "this is my first role";
Keywords​
CREATE, ROLE