Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DROP EXTERNAL FILE FORMAT (Transact-SQL)

Applies to: 👁 Image
SQL Server 2016 (13.x) and later versions 👁 Image
Azure SQL Database 👁 Image
Azure SQL Managed Instance 👁 Image
Azure Synapse Analytics 👁 Image
Analytics Platform System (PDW)

Removes a PolyBase external file format.

👁 Image
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 system view.

SELECT * FROM sys.external_file_formats; 

Permissions

Requires ALTER ANY EXTERNAL FILE FORMAT.

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. Use basic syntax

DROP EXTERNAL FILE FORMAT myfileformat; 

Related content


Feedback

Was this page helpful?

Additional resources