DROP EXTERNAL FILE FORMAT (Transact-SQL)
Applies to: SQL Server 2016 (13.x) and later Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)
Removes a PolyBase external file format.
Transact-SQL syntax conventions
Syntax
-- Drop an external file format
DROP EXTERNAL FILE FORMAT external_file_format_name
[;]
Arguments
external_file_format_name
The name of the external file format to drop.
Metadata
To view a list of external file formats use the sys.external_file_formats (Transact-SQL) system view.
SELECT * FROM sys.external_file_formats;
Permissions
Requires ALTER ANY EXTERNAL FILE FORMAT.
General Remarks
Dropping an external file format does not remove the external data.
Locking
Takes a shared lock on the external file format object.
Examples
A. Using basic syntax
DROP EXTERNAL FILE FORMAT myfileformat;
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for