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.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

Resets the lengths in column definitions for VARCHAR data types.

Syntax

void
FNC_TblOpSetDisplayLength(Stream_Direction_en    direction,
                          FNC_TblOpColumnDef_t *colDefs)
Stream_Direction_en 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.

FNC_TblOpColumnDef_t *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.