Updated on 2025-07-22 GMT+08:00

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

Table 1 DROP RESOURCE POOL parameters

Parameter

Description

Value Range

IF EXISTS

Sends a notice instead of an error if the specified resource pool does not exist.

-

pool_name

Specifies the name of a created resource pool.

A string, which must comply with the naming convention.

Examples

Delete the resource pool named pool:

1
DROP RESOURCE POOL pool;