Help Center/ GaussDB/ Developer Guide(Distributed_V2.0-3.x)/ SQL Reference/ SQL Syntax/ DROP RESOURCE LABEL
Updated on 2025-08-19 GMT+08:00
DROP RESOURCE LABEL
Description
Deletes 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. It must comply with the naming convention.
Examples
1 2 3 4 5 | -- Delete a resource label. gaussdb=# DROP RESOURCE LABEL IF EXISTS res_label1; -- Delete a group of resource labels. gaussdb=# DROP RESOURCE LABEL IF EXISTS res_label1, res_label2, res_label3; |
Helpful Links
Parent topic: SQL Syntax
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.
The system is busy. Please try again later.