JSON Data Type | JSON Type Usage | VantageCloud Lake - JSON Type Usage - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
The JSON data type can be used similarly to other data types. For example, you can specify the JSON data type in these cases:
  • In table definitions
  • As parameters and return types for UDFs written in C, C++, or Java. This includes scalar and aggregate UDFs, table functions, and table operators.
  • As IN, INOUT, and OUT parameters of stored procedures and external stored procedures written in C, C++, or Java.
  • In local variable definitions in stored procedures.

When used as an input or output parameter, you can specify the JSON type with the STORAGE FORMAT specification to pass binary JSON data to an external routine.