Overview - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide

Product
Teradata Preprocessor2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-19
dita:mapPath
whb1544831946911.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

PP2 uses data type codes for input and output SQL Descriptor Area (SQLDA) structures generated by the precompiler and recognized at execution. The database returns data type code values to the SQLDA specified by the application using a PREPARE or DESCRIBE statement. The data type is in the two byte SQLTYPE integer field of the SQLDA.

Use the following guidelines in interpreting the tables in the next sections:

Code Requirements for Variable
Even-numbered Cannot be null (no indicator variables are allowed)
Odd-numbered Can be null (indicator variables are allowed)