Help Center/
GaussDB/
Developer Guide(Centralized_V2.0-2.x)/
SQL Reference/
SQL Syntax/
DROP RESOURCE LABEL
Updated on 2025-02-27 GMT+08:00
DROP RESOURCE LABEL
Description
Drops a resource label.
Precautions
Only users with the POLADMIN or SYSADMIN permission, or the initial user can perform this operation.
Syntax
1
|
DROP RESOURCE LABEL [IF EXISTS] label_name[, ...]; |
Parameters
- label_name
Specifies the resource label name.
Value range: a string that complies with the Identifier Naming Conventions.
Examples
1 2 3 4 5 |
-- Drop a resource label. openGauss=# DROP RESOURCE LABEL IF EXISTS res_label1; -- Drop a group of resource labels. openGauss=# DROP RESOURCE LABEL IF EXISTS res_label1, res_label2, res_label3; |
Helpful Links
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