Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1029007%22%20slang%3D%22en-US%22%3EHow%20to%20run%20SQL%20query%20on%20External%20Tables%20in%20Azure%20Data%20Explorer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1029007%22%20slang%3D%22en-US%22%3E%3CDIV%3E%0A%3CDIV%3EAs%20you%20probably%20already%20know%26nbsp%3BADX%20can%20process%20queries%20written%20in%20SQL%20(if%20you%20don't%20-%20you%20can%20learn%20about%20this%20feature%20%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fpower-bi-sql-query%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fpower-bi-sql-query%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E).%20A%20small%20addition%20shipped%20recently%20expands%20this%20support%20by%26nbsp%3Ballowing%20to%20query%20%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fdata-lake-query-data%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fdata-lake-query-data%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eexternal%20tables%3C%2FA%3E%26nbsp%3B(external%20data%20residing%20outside%20of%20Kusto%20cluster)%26nbsp%3Busing%20the%20same%20SQL%20dialect.%20A%20screenshot%20is%20worth%20a%20thousands%20words%3A%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%20data-tid%3D%22messageBodyContainer%22%3E%0A%3CDIV%20data-tid%3D%22messageBodyContent%22%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158650i0B7C88DD3802EF06%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22external_tables_through_tsql.PNG%22%20title%3D%22external_tables_through_tsql.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3EAs%20you%20can%20see%20from%20the%20screenshot%20above%26nbsp%3Bexternal%20tables%20are%20recognized%20as%20database%20entities%2C%20just%20like%20regular%20tables!%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1029007%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EADX%20can%20process%20queries%20written%20in%20SQL%20(you%20can%20learn%20about%20this%20feature%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fpower-bi-sql-query%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fpower-bi-sql-query%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3CSPAN%3E).%20A%20new%20addition%20shipped%20recently%20expands%20this%20support%20by%26nbsp%3Ballowing%20to%20query%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fdata-lake-query-data%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdata-explorer%2Fdata-lake-query-data%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eexternal%20tables%3C%2FA%3E%3CSPAN%3E%26nbsp%3B(external%20data%20residing%20outside%20of%20Azure%20Data%20Explorer%20cluster)%26nbsp%3Busing%20the%20same%20SQL%20dialect.%20A%20screenshot%20is%20worth%20a%20thousands%20words%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F164097i28B0A40FAC2AE78C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22external_tables_through_tsql.PNG%22%20title%3D%22external_tables_through_tsql.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1029007%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Data%20Explorer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EKusto%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQL%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
As you probably already know ADX can process queries written in SQL (if you don't - you can learn about this feature here). A small addition shipped recently expands this support by allowing to query external tables (external data residing outside of Kusto cluster) using the same SQL dialect. A screenshot is worth a thousands words:
 
external_tables_through_tsql.PNG
As you can see from the screenshot above external tables are recognized as database entities, just like regular tables!