Syntax - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
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