17.10 - Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)
void
FNC_GetJSONInfo ( JSON_HANDLE   jsonHandle,
                  int          *maxLength,
                  charset_et   *charset,
                  int          *numLobs)

Syntax Elements

jsonHandle
a handle to a JSON type instance.
JSON_HANDLE is defined in sqltypes_td.h as:
typedef int JSON_HANDLE;
maxLength
the maximum possible length of the JSON instance in bytes.
charset
the character set of the JSON text, which is either UNICODE or LATIN.
numLobs
the number of LOBs used to store the JSON data. Valid values are as follows:
  • 0, which indicates that the data is not stored as a LOB
  • 1, which indicates that the data is stored as a LOB