DROP EXTERNAL RESOURCE POOL (Transact-SQL)

**APPLIES TO:** ![yes](media/yes.png)SQL Server (starting with 2016) ![no](media/no.png)Azure SQL Database ![no](media/no.png)Azure SQL Data Warehouse ![no](media/no.png)Parallel Data Warehouse

Deletes a Resource Governor external resource pool used to define resources for external processes. For R Services the external pool governs rterm.exe, BxlServer.exe, and other processes spawned by them. External resource pools are created by using CREATE EXTERNAL RESOURCE POOL (Transact-SQL) and modified by using ALTER EXTERNAL RESOURCE POOL (Transact-SQL).

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

The reconfiguration does n

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

external scripts enabled Server Configuration Option
SQL Server R Services
Known Issues for SQL Server R Services
CREATE EXTERNAL RESOURCE POOL (Transact-SQL)
ALTER EXTERNAL RESOURCE POOL (Transact-SQL)
DROP WORKLOAD GROUP (Transact-SQL)
DROP RESOURCE POOL (Transact-SQL)