17.10 - setDisplayLength - 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. 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.