Updated on 2026-11-06 GMT+08:00
Create Role
Function
- Creates a new role.
- Only users with CREATE_ROLE permission on the database can create roles. For example: administrator users, database owner users, and other users who have been granted the CREATE_ROLE permission.
- Each role must belong to only one database.
Syntax
CREATE ROLE role_name;
Keywords
None.
Examples
CREATE ROLE role1;
Parent topic: Data Permissions
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot