File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22description : " DROP EXTERNAL TABLE (Transact-SQL)"
3- title : " DROP EXTERNAL TABLE (Transact-SQL) | Microsoft Docs "
3+ title : " DROP EXTERNAL TABLE (Transact-SQL)"
44ms.custom : " "
5- ms.date : " 03/03/2017 "
5+ ms.date : " 11/02/2021 "
66ms.prod : sql
77ms.prod_service : " synapse-analytics, pdw, sql-database"
88ms.reviewer : " "
99ms.technology : t-sql
1010ms.topic : reference
1111dev_langs :
1212 - " TSQL"
13- ms.assetid : 02a6a236-0756-4570-abfa-6f677a7df042
1413author : WilliamDAssafMSFT
1514ms.author : wiassaf
1615monikerRange : " >=aps-pdw-2016||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current"
@@ -28,17 +27,20 @@ monikerRange: ">=aps-pdw-2016||=azure-sqldw-latest||>=sql-server-2016||>=sql-ser
2827DROP EXTERNAL TABLE { database_name.schema_name.table_name | schema_name.table_name | table_name }
2928[;]
3029```
31-
32-
30+
3331## Arguments
32+
3433 ` [ database_name . [schema_name] . | schema_name . ] table_name `
3534 The one- to three-part name of the external table to remove. The table name can optionally include the schema, or the database and schema.
3635
3736## Permissions
3837
39- - Requires ** ALTER** permission on the schema to which the table belongs.
38+ Requires:
39+ - ** ALTER** permission on the schema to which the table belongs.
40+ - ** ALTER ANY EXTERNAL DATA SOURCE**
41+ - ** ALTER ANY EXTERNAL FILE FORMAT**
4042
41- ## General Remarks
43+ ## Remarks
4244 Dropping an external table removes all table-related metadata. It doesn't delete the external data.
4345
4446## Examples
You can’t perform that action at this time.
0 commit comments