17.10 - getBaseDataType() - 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)

Retrieves the base data type information for the UDT or complex type. Valid values include those contained in the Java enum TeradataType.

The method returns a member of the enum TeradataType that matches the base type of this UDT or complex type.

The method throws SQLException if an error occurs while attempting to access the base data type. A database specific code “9744 (ERRUDFJAVUDT) <UDT base type could not be accessed>” is returned.

Syntax

TeradataType getBaseDataType()
                        throws SQLException