getNumDimensions() - Teradata Vantage - Analytics Database

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2026-03-06
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantage™

Retrieves the number of dimensions defined for a given Array. Possible values correspond to the number of dimensions supported for Teradata ARRAY types. This method supports both 1-D and N-D arrays.

An int value containing the number of dimensions defined for the given Array type.

Syntax

int getNumDimensions()
                       throws SQLException

Exceptions

Throws SQLException if an error occurs while attempting to access the array. A database specific code “9743 (ERRUDFJAVARRAY) <Failed to retrieve number of Array dimensions>” is returned.