doc-exports/docs/dws/dev/dws_06_0202.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

4.2 KiB

DROP RESOURCE POOL

Function

DROP RESOURCE POOL deletes a resource pool.

The resource pool cannot be deleted if it is associated with a role.

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.

A resource pool can be independently deleted only when it is not associated with any users.

Example

Delete a resource pool.

DROP RESOURCE POOL pool1;