17.10 - get(int) - 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)

Returns the TeradataType enum entry corresponding to the integer value provided as input. For example, the method returns XML_DT for an input value of 46.

Syntax

TeradataType get(int  type)
                       throws IllegalArgumentException

Exceptions

The method throws IllegalArgumentException if an unsupported column type is encountered. A database specific code is returned with message “Unsupported column type: <type_name>".