doc-exports/docs/dws/dev/dws_06_0202.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

4.3 KiB

DROP RESOURCE POOL

Function

DROP RESOURCE POOL deletes a resource pool.

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;