Example: Use COLLECT STATISTICS with a JSON Dot Notation Reference - Advanced SQL Engine - Teradata Database

JSON Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
gzn1554761068186.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1150
lifecycle
previous
Product Category
Teradata Vantageā„¢
The example shows how to use COLLECT STATISTICS with portions of a JSON instance specified using JSON dot notation.
COLLECT STATISTICS COLUMN j.name AS name_stats ON json_table;