Updated on 2024-05-07 GMT+08:00
DROP ROLE
Function
DROP ROLE deletes a role.
Precautions
None
Syntax
DROP ROLE [ IF EXISTS ] role_name [, ...];
Parameter Description
- IF EXISTS
Reports a notice instead of an error if the specified role does not exist.
- role_name
Specifies the name of the role to be deleted.
Value range: an existing role name
Examples
See Examples in CREATE ROLE.
Helpful Links
CREATE ROLE, ALTER ROLE, and SET ROLE
Parent topic: SQL 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