DROP RESOURCE POOL
Function
DROP RESOURCE POOL deletes a resource pool.
![](https://support.huaweicloud.com/eu/sqlreference-dws/public_sys-resources/note_3.0-en-us.png)
If a role has been associated with a resource pool, the resource pool cannot be deleted.
Precautions
The user must have the DROP permission in order to delete a resource pool.
Syntax
1
|
DROP RESOURCE POOL [ IF EXISTS ] pool_name; |
Parameter Description
- IF EXISTS
Sends a notice instead of an error if the stored procedure does not exist.
- pool_name
Specifies the name of a created resource pool.
Value range: a string. It must comply with the naming convention.
Example
Delete the resource pool named pool:
1
|
DROP RESOURCE POOL pool; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.