SQL Capabilities Parcel

Teradata Vantageā„¢ JSON Data Type

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1150-162K

The SQL Capabilities parcel includes a flag called SQLCap_JSON which indicates whether or not the JSON data type is supported in the database.

typedef 
struct PclCfgSQLCapFeatType {
        PclCfgFeatureType       SQLCap_Feature;
        PclCfgFeatureLenType    SQLCap_Length;    
        byte  /* 0 */           SQLCap_UPSERT;   
        byte  /* 1 */           SQLCap_ArraySupport; 
        .
        .
        .
        byte  /* 20 */          padbyte_boolean; 
         byte /* 21 */ SQLCap_JSON;      
    } PclCfgSQLCapFeatType;

The SQLCap_JSON flag has the following values:

  • 0 indicates that the JSON data type is not supported.
  • 1 indicates that the JSON data type is supported.