Transforms Off and Period Data Type Support | Teradata Vantage - 17.10 - Transforms Off and Period Data Type Support - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

The configuration response parcel (in the PclCfgMultipartFeatType struct (pclmisc.h)) includes byte flags that enable the server to inform the client of transforms off and Period data type support.

UDTTransformsOff Byte Flag Values

Value Description
0 Transforms are turned on. UDTs are transferred in transformed mode. Period metadata and data are transferred in non-struct mode (binary form).
1 UDTs are transferred in untransformed mode. Period metadata and data are transferred in non-struct mode (binary form).

The client can set the UDTTransformsOff flag within the options portion of the DBCAREA. See UDTTransformsOff Flag for more information on this flag.

2 UDTs are transferred in untransformed mode. Period metadata and data are transferred in struct mode.
When the value is set to 2:
  • The client can set the PeriodStructOn flag within the options portion of the DBCAREA. See PeriodStructOn Flag for more information on this flag.
  • The client is permitted (but not required) to send PERIOD struct metadata and data values to Vantage in request messages.

See Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems, B035-2417 and Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418 for more information on setting DBCAREA options.

ArrayDataType Byte Flag Values

Value Description
0 ARRAY data types are not supported.
1 ARRAY data types are supported.

When the value is set to 1, the client can set the ArrayTransformsOff flag within the options portion of the DBCAREA. See ArrayTransformsOff Flag for more information on this flag.

See Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems, B035-2417 and Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418 for more information on setting DBCAREA options.