17.10 - ColumnDefinition Constructors - 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)

After the class is instantiated, the characteristics of the type can be set using the methods setPrecision, setScale, setDisplayLength, and so on. Calling these methods for types that do not support the specific method results in an exception. The com.teradata.fnc.TeradataType permits access to Teradata specific types.

Syntax

public  ColumnDefinition(java.lang.String  Name,
                        int  typeval)

Syntax Elements

Name
The name of the output column.
typeval
The java.sql.Type of the column.

Syntax

public  ColumnDefinition(java.lang.String  Name,
                        com.teradata.fnc.TeradataType  Type)

Syntax Elements

Name
The name of the output column.
typeval
The com.teradata.fnc.TeradataType of the column.