--- title: "Delete a Resource Pool | Microsoft Docs" ms.custom: "" ms.date: "06/13/2017" ms.prod: "sql-server-2014" ms.reviewer: "" ms.technology: performance ms.topic: conceptual helpviewer_keywords: - "Resource Governor, resource pool delete" - "resource pools [SQL Server], delete" ms.assetid: 3bdd348b-6582-4ffa-80ef-d49e50596ce5 author: MikeRayMSFT ms.author: mikeray manager: craigg --- # Delete a Resource Pool You can delete a resource pool by using either [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or Transact-SQL. - **Before you begin:** [Limitations and Restrictions](#LimitationsRestrictions), [Permissions](#Permissions) - **To delete a resource pool, using:** [SQL Server Management Studio](#DelRPSSMS), [Transact-SQL](#DelRPTSQL) ## Before You Begin You cannot delete a resource pool if it contains workload groups. ### Limitations and Restrictions You cannot delete the Resource Governor default or internal resource pools. You cannot delete a resource pool if it contains workload groups. For more information, see [Delete a Workload Group](delete-a-workload-group.md). ### Permissions Deleting a resource pool requires CONTROL SERVER permission. ## Delete a Resource Pool Using Object Explorer **To delete a resource pool by using SQL Server Management Studio** 1. In [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)], open Object Explorer and recursively expand the **Management** node down to and including **Resource Governor**. 2. Right-click the resource pool to be deleted, and then click **Delete**. 3. In the **Delete Object** window, the resource pool is listed in the **Object to be deleted** list. To delete the resource pool, click **OK**. > [!NOTE] > If the resource pool that you are trying to delete contains a workload group, this action will fail. ## Delete a Resource Pool Using Transact-SQL **To delete a resource pool by using Transact-SQL** 1. Run the `DROP RESOURCE POOL` statement specifying the name of the resource pool to delete. 2. Run the **ALTER RESOURCE GOVERNOR RECONFIGURE** statement. ### Example (Transact-SQL) The following example drops a workload group named `poolAdhoc`. ``` DROP RESOURCE POOL poolAdhoc; GO ALTER RESOURCE GOVERNOR RECONFIGURE; GO ``` ## See Also [Resource Governor](resource-governor.md) [Resource Governor Resource Pool](resource-governor-resource-pool.md) [Create a Resource Pool](create-a-resource-pool.md) [Change Resource Pool Settings](change-resource-pool-settings.md) [Resource Governor Workload Group](resource-governor-workload-group.md) [Resource Governor Classifier Function](resource-governor-classifier-function.md) [DROP WORKLOAD GROUP (Transact-SQL)](/sql/t-sql/statements/drop-workload-group-transact-sql) [DROP RESOURCE POOL (Transact-SQL)](/sql/t-sql/statements/drop-resource-pool-transact-sql) [ALTER RESOURCE GOVERNOR (Transact-SQL)](/sql/t-sql/statements/alter-resource-governor-transact-sql)