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

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantage™

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 Teradata Database 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.