Sdílet prostřednictvím


DROP RESOURCE POOL (Transact-SQL)

Drops a user-defined Resource Governor resource pool.

Topic link iconTransact-SQL Syntax Conventions.

Syntax

DROP RESOURCE POOL pool_name
[ ; ]

Arguments

  • pool_name
    Is the name of an existing user-defined resource pool.

Remarks

You cannot drop a resource pool if it contains workload groups.

You cannot drop the Resource Governor default or internal pools.

When you are executing DDL statements, we recommend that you be familiar with Resource Governor states. For more information, see Resource Governor States.

Permissions

Requires CONTROL SERVER permission.

Examples

The following example drops the resource pool named big_pool.

DROP RESOURCE POOL big_pool
GO
ALTER RESOURCE GOVERNOR RECONFIGURE
GO