17.10 - getBaseMaxLength() - 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 maximum length for the base type of the UDT or complex type.

The method returns a constant of type int that contains the base maximum length value for the UDT or complex type.

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

Syntax

int getBaseMaxLength()
                       throws SQLException