Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.31 KB

drop-resource-pool-transact-sql.md

File metadata and controls

65 lines (51 loc) · 2.31 KB
title description author ms.author 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
03/06/2017
sql
t-sql
reference
DROP RESOURCE POOL
DROP_RESOURCE_POOL_TSQL
DROP RESOURCE POOL
TSQL

DROP RESOURCE POOL (Transact-SQL)

[!INCLUDE SQL Server]

Drops a user-defined Resource Governor resource pool.

:::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 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.

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  

See Also

Resource Governor
CREATE RESOURCE POOL (Transact-SQL)
ALTER RESOURCE POOL (Transact-SQL)
CREATE WORKLOAD GROUP (Transact-SQL)
ALTER WORKLOAD GROUP (Transact-SQL)
DROP WORKLOAD GROUP (Transact-SQL)
ALTER RESOURCE GOVERNOR (Transact-SQL)