ARRAY_GET Syntax - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

System Function

ARRAY_GET ( array_expr, array_index )

Method-Style

array_expr.ARRAY_GET ( array_index )

Syntax Elements

array_expr
An ARRAY expression, which is one of the following:
  • A reference to an ARRAY column
  • An ARRAY constructor expression
  • A UDF expression
  • A UDM expression
array_index
Specifies one of the following:
  • An integer value.
  • An array instance of the predefined array type ArrayVec with a comma-separated list of integer values to define the bounds.
  • The value of array_index must be within the limits of array_expr.