Skip to content

Latest commit

 

History

History
74 lines (59 loc) · 2.55 KB

File metadata and controls

74 lines (59 loc) · 2.55 KB
title DROP RESOURCE POOL (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql
ms.prod_service sql-database
ms.component t-sql|statements
ms.reviewer
ms.suite sql
ms.technology t-sql
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
DROP RESOURCE POOL
DROP_RESOURCE_POOL_TSQL
dev_langs
TSQL
helpviewer_keywords
DROP RESOURCE POOL
ms.assetid 18cd6dd9-7a6d-4a08-b9d5-649af23583d5
caps.latest.revision 21
author edmacauley
ms.author edmaca
manager craigg

DROP RESOURCE POOL (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

Drops a user-defined Resource Governor resource pool.

Topic link icon 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)