Help Center/
GaussDB(DWS)/
SQL Syntax Reference/
SQL Syntax Reference (8.1.3.x)/
DDL Syntax/
ALTER GROUP
Updated on 2024-09-03 GMT+08:00
ALTER GROUP
Function
ALTER GROUP modifies the attributes of a user group.
Precautions
ALTER GROUP is an alias for ALTER ROLE, and it is not a standard SQL command and not recommended. Users can use ALTER ROLE directly.
Syntax
- Add users to a group.
1 2
ALTER GROUP group_name ADD USER user_name [, ... ];
- Remove users from a group.
1 2
ALTER GROUP group_name DROP USER user_name [, ... ];
- Change the name of the group.
1 2
ALTER GROUP group_name RENAME TO new_name;
Parameter Description
See the Example in ALTER ROLE.
Helpful Links
Parent topic: DDL Syntax
Feedback
Was this page helpful?
Provide feedbackThank 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