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

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.