DROP EXTERNAL DATA SOURCE
removes an external access definition
What changes
- Input
- catalog
- Output or change
- external data source or file format definition
Syntax at a glance
DROP EXTERNAL DATA SOURCE external_data_source_name [;]
Work example
An external location is retired after its external tables and jobs move.
Find dependent external tables, queries, credentials, and scheduled jobs before removal.
Check your work No active query or scheduled task uses the external source.
Open Microsoft Learn for full syntax, permissions, and details for your version.