ARRAY_GET

Teradata Vantageā„¢ Data Types and Literals

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

Purpose

Returns the element value in array_expr that corresponds to the specified index position.

Syntax

System Function

Method-Style

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.