16.20 - getBaseType() - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

Purpose

Retrieves the JDBC type of the elements in the array designated by this Array object.

Syntax

int getBaseType()
                throws SQLException

Return Value

A constant from the class Types that is the type code for the elements in the array designated by this Array object .

Exceptions

Throws SQLException if an error occurs while attempting to access the base type. A database specific code “9743 (ERRUDFJAVARRAY) <Array element type could not be retrieved>” is returned.