| title | DROP EXTERNAL FILE FORMAT (Transact-SQL) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 03/07/2017 | |
| ms.prod | sql-non-specified | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | language-reference | |
| dev_langs |
|
|
| ms.assetid | 8cf9009b-59f9-4aac-bef1-dcf2cf0708b2 | |
| caps.latest.revision | 12 | |
| author | barbkess | |
| ms.author | barbkess | |
| manager | jhubbard |
[!INCLUDEtsql-appliesto-ss2016-xxxx-asdw-pdw_md]
Removes a PolyBase external file format.
Transact-SQL Syntax Conventions
-- Syntax for SQL Server, Azure SQL Data Warehouse, Parallel Data Warehouse
-- Drop an external file format
DROP EXTERNAL FILE FORMAT external_file_format_name
[;]
external_file_format_name
The name of the external file format to drop.
To view a list of external file formats use the sys.external_file_formats (Transact-SQL) system view.
SELECT * FROM sys.external_file_formats;
Requires ALTER ANY EXTERNAL FILE FORMAT.
Dropping an external file format does not remove the external data.
Takes a shared lock on the external file format object.
DROP EXTERNAL FILE FORMAT myfileformat;
DROP EXTERNAL FILE FORMAT myfileformat;