例 - Teradata Database - Teradata Vantage NewSQL Engine - JSONGETVALUEの例です。

Teradata Vantage™ JSONデータ型

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
2019年3月
Language
日本語
Last Update
2019-10-29
dita:mapPath
ja-JP/bgi1512081870828.ditamap
dita:ditavalPath
ja-JP/bgi1512081870828.ditaval
dita:id
evi1472243742653
Product Category
Software
Teradata Vantage
SELECT JSONGETVALUE(new JSON('{"num":-2.5}'), '$.num' AS NUMBER);

 *** Query completed. One row found. One column returned.
 *** Total elapsed time was 1 second.

JSONGETVALUE( NEW JSON('{"num":-2.5}', LATIN),'$.num')
------------------------------------------------------
                                                  -2.5