ARRAY Element Reference Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Syntax

array_expression [ index_value [...] ]
You must type the colored or bold brackets.

Syntax Elements

array_expression
An expression that evaluates to an ARRAY data type.
index_value

Index to the element in the array whose value you want to access.

For a 1-D ARRAY type, index_value must be a positive integer in the range from 1 to n, where n is the declared size of the ARRAY type.

For an n-D ARRAY type, index_value must be a positive or negative integer in the range from m to n, where m is the declared lower bound of a dimension of the array, and n is the declared upper bound.