Azure synapse external table definition

sakuraime 2,316 Reputation points
2021-03-16T15:09:43.147+00:00

how to view the definition (especially the path/datatype/format) of the external table ?

78249-image.png

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,369 questions
{count} votes

Accepted answer
  1. Serverless SQL 216 Reputation points MVP
    2021-03-16T22:16:22.22+00:00

    Hi,

    If this is for Serverless SQL Pools then you can use the following DMVs:

    select * from sys.external_tables
    select * from sys.external_file_formats
    select * from sys.external_data_sources
    
    select et.name as TableName,
    et.location as TableLocation,
    ef.name as FileFormatName,
    ef.format_type as FileFormatType,
    es.name as DataSourceName,
    es.location as DataSourceLocation
    from sys.external_tables et
    inner join sys.external_file_formats ef on ef.file_format_id = et.file_format_id
    inner join sys.external_data_sources es on es.data_source_id = et.data_source_id
    
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful