FNC_TblOpSetDisplayLength Function | C Library Functions | Teradata Vantage - 17.10 - FNC_TblOpSetDisplayLength - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

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

Resets the lengths in column definitions for VARCHAR data types.

Syntax

void
FNC_TblOpSetDisplayLength(Stream_Direction_en    direction,
                          FNC_TblOpColumnDef_t *colDefs)

Syntax Elements

direction
IN parameter
Stream_Direction_en is defined as follows:
typedef enum
{
   ISOUTPUT = 'W',
   ISINPUT = 'R'
} Stream_Direction_en;

Specify the input value ISINPUT for export and the value ISOUTPUT for import.

colDefs
IN/OUT parameter

A pointer to the column definitions which will be returned with the modified display lengths.

Usage Notes

This routine can be invoked for both import and export operations.

The routine is callable on a PE vproc only by a table operator.