17.10 - getBaseDataType() - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
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.


TeradataType getBaseDataType()
                        throws SQLException