.show table update policy

Show the table update policy. The update policy instructs Azure Data Explorer to automatically append data to a target table whenever new data is inserted into the source table, based on a transformation query that runs on the data inserted into the source table.

Note

The source table and the table for which the update policy is defined must be in the same database. The update policy function schema and the target table schema must match in their column names, types, and order.

Syntax

For a specified table

.show table TableName policy update

.show table DatabaseName.TableName policy update

For all tables

.show table * policy update

Arguments

DatabaseName - Specify the name of the database. TableName - Specify the name of the table. Use without DatabaseName when running in the required database's context. A wildcard (*) denotes all tables.

Returns

Returns a JSON representation of the policy.

Example

The following example shows the update policies for all tables:

.show table * policy update