Combine JSON Method Syntax | VantageCloud Lake - Combine Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
JSON_expr.Combine ( JSON_expr [, { 'ARRAY' | 'OBJECT' } ] )

Syntax Elements

JSON_expr
An expression that evaluates to a JSON data type. For example, this can be a column in a table, a constant, or the result of a function or method.
'ARRAY' or 'OBJECT'
Optional. Explicitly specifies the result type as 'ARRAY' or 'OBJECT'.
If 'ARRAY' is specified, the result is a JSON document structured as an array. If 'OBJECT' is specified, the result is a JSON document structured as an object.
When specifying 'OBJECT', both of the JSON documents being combined must be JSON objects; otherwise, an error is reported.