Example: LATIN Combine LATIN - 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
The example shows how to use the JSON Combine method to combine two JSON objects of CHARACTER SET LATIN.
The example uses the table(s) created earlier.
/* Result of LATIN combine LATIN is LATIN. */

SELECT MA.edata2.Combine(MB.edata2) 
FROM my_table AS MA, my_table2 AS MB
WHERE MA.eno < 3;

Result: The result is a JSON instance with text in CHARACTER SET LATIN.

edata2.Combine(edata2)
---------------------
{"name" : "Lewis","name" : "Lewis"}
{"name" : "Lewis","name" : "Lewis"}
{"name" : "Lewis","name" : "Lewis"}
{"name" : "Lewis","name" : "Lewis"}