15.10 - SQL Capabilities Parcel - Teradata Database

Teradata Database Teradata JSON

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1150-151K

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.