15.10 - About JSON Shredding - Teradata Database

Teradata Database Teradata JSON

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1150-151K

Teradata provides shredding functionality that allows you to extract values from JSON documents and store the extracted data in relational format. Data from a JSON instance can be used to INSERT, UPDATE, UPSERT, or DELETE from one or more existing tables.

Functions are provided to create a temporary table and/or update tables based on a single JSON instance or a group of JSON instances.
JSON_TABLE
This is a table operator which takes a JSON instance and creates a temporary table based on a subset, or all, of the data contained in the JSON instance.
JSON_SHRED_BATCH and JSON_SHRED_BATCH_U
The JSON_SHRED_BATCH and JSON_SHRED_BATCH_U stored procedures load relational tables with data extracted from JSON instances.
JSON_SHRED_BATCH operates on LATIN character set data and JSON_SHRED_BATCH_U operates on UNICODE data. Otherwise, the two procedures are the same.

The table operator and these procedures operate on JSON documents stored in text format as well as the binary formats.