Indicator Variables - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

Product
Preprocessor2 for Embedded SQL
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

Indicator Variables

Indicator variables can be used with main variables intended for I/O, although certain indicator variables cannot be used for input (for example, in a WHERE clause).

PP2 uses indicator variables to show nullness of a field sent to or returned by the Teradata Database, as well as truncation of a character or byte string when placed into the corresponding main variable.

Indicator variables are documented in SQL Stored Procedures and Embedded SQL (B035‑1148).