Topic: How to Get a List of Tables, Schema of Table, and Definition of Tables in Kusto.
How to get a List of tables, Schema of Table, and definition of tables in Kusto Query | Kusto Query Language Tutorial (KQL) Kusto Query Language is a powerful tool to explore your data and discover patterns, identify anomalies and outliers, create statistical modeling, and more. The query uses schema entities that are organized in a hierarchy similar to SQL's: databases, tables, and columns. A Kusto query is a read-only request to process data and return results. The request is stated in plain text, using a data-flow model that is easy to read, author, and automate. Kusto queries are made of one or more query statements.
// .show table ..................
// How to get list of all tables in database in Kusto -----> .show tables
.show tables
//how to get specific tables
.show tables (CustomerAsia,ACustomer)
//How to show detail of table/s:.show table details
.show table CustomerA details
// how details for multiple tables
.show tables (CustomerA,Salary) details
// show details for all tables
.show tables details
// How to get Table Schema in Kusto
// Synatax : .show table TableName cslschema
.show table ACustomer cslschema
// get the schema in json format
.show table ACustomer schema as json
No comments:
Post a Comment