15.10 - Example - Teradata Database

Teradata Database Teradata JSON

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1150-151K
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