Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 3.19 KB

drop-external-resource-pool-transact-sql.md

File metadata and controls

75 lines (55 loc) · 3.19 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
DROP EXTERNAL RESOURCE POOL (Transact-SQL)
DROP EXTERNAL RESOURCE POOL (Transact-SQL)
VanMSFT
vanto
08/06/2020
sql
machine-learning-services
reference
DROP EXTERNAL RESOURCE POOL
DROP_EXTERNAL_RESOURCE_POOL_TSQL
DROP EXTERNAL RESOURCE POOL statement
TSQL

DROP EXTERNAL RESOURCE POOL (Transact-SQL)

[!INCLUDE SQL Server 2016 and later]

Deletes a Resource Governor external resource pool used to define resources for external processes.

::: moniker range="=sql-server-2016||>=sql-server-linux-ver15" For [!INCLUDErsql-productname-md] in [!INCLUDEsssql15-md], the external pool governs rterm.exe, BxlServer.exe, and other processes spawned by them. ::: moniker-end

::: moniker range=">=sql-server-2017||>=sql-server-linux-ver15" For [!INCLUDErsql-productnamenew-md], the external pool governs rterm.exe, python.exe, BxlServer.exe, and other processes spawned by them. ::: moniker-end

External resource pools are created by using CREATE EXTERNAL RESOURCE POOL (Transact-SQL) and modified by using ALTER EXTERNAL RESOURCE POOL (Transact-SQL).

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

Syntax

DROP EXTERNAL RESOURCE POOL pool_name  

Arguments

pool_name
The name of the external resource pool to be deleted.

Remarks

You cannot drop an external 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 external resource pool named ex_pool.

DROP EXTERNAL RESOURCE POOL ex_pool;  
GO  
ALTER RESOURCE GOVERNOR RECONFIGURE;  
GO  

See Also