Syntax - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™
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