Events
Mar 31, 11 p.m. - Apr 2, 11 p.m.
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server 2016 (13.x) and later
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
Removes a PolyBase external data source.
Transact-SQL syntax conventions
-- Drop an external data source
DROP EXTERNAL DATA SOURCE external_data_source_name
[;]
external_data_source_name
The name of the external data source to drop.
To view a list of external data sources use the sys.external_data_sources system view.
SELECT * FROM sys.external_data_sources;
Requires ALTER ANY EXTERNAL DATA SOURCE.
Takes a shared lock on the external data source object.
Dropping an external data source does not remove the external data.
DROP EXTERNAL DATA SOURCE mydatasource;
Events
Mar 31, 11 p.m. - Apr 2, 11 p.m.
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today