setDisplayLength - 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. This routine can be invoked for both import and export operations.

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

Syntax

public void  setDisplayLength(char  direction,
                             ColumnDefinition[]  colDefs)
   throws SQLException

Syntax Elements

direction
IN parameter. Specify an input value of 'R' for export and 'W' for import.
colDefs
IN/OUT parameter. The column definitions for which the display lengths will be reset.