Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 2.64 KB

drop-resource-pool-transact-sql.md

File metadata and controls

76 lines (54 loc) · 2.64 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
DROP RESOURCE POOL (Transact-SQL)
DROP RESOURCE POOL (Transact-SQL)
WilliamDAssafMSFT
wiassaf
dfurman
02/17/2025
sql
t-sql
reference
DROP RESOURCE POOL
DROP_RESOURCE_POOL_TSQL
DROP RESOURCE POOL
TSQL

DROP RESOURCE POOL (Transact-SQL)

[!INCLUDE SQL Server]

Deletes a user-defined resource governor resource pool for a [!INCLUDEssDE] instance.

Note

To modify resource governor configuration in [!INCLUDEssazuremi-md.md], you must be in the context of the master database on the primary replica.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

DROP RESOURCE POOL pool_name
[ ; ]

Arguments

pool_name

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

Remarks

You can't drop a resource pool if it contains any workload groups.

You can't drop the built-in default and internal pools.

For more information, see Resource governor and Resource governor resource pool.

Permissions

Requires the CONTROL SERVER permission.

Examples

The following example deletes the resource pool named big_pool and makes the new configuration effective.

DROP RESOURCE POOL big_pool;

ALTER RESOURCE GOVERNOR RECONFIGURE;

Related content