17.10 - ARRAY_UPDATE_STRIDE Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

System Function

ARRAY_UPDATE_STRIDE ( array_expr, new_value, stride [, { scope_reference | array_index } ] )

Method-Style

array_expr.ARRAY_UPDATE_STRIDE ( new_value, stride [, { scope_reference | 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
new_value
An expression that evaluates to a value with the same data type as the element type of array_expr.
stride
An unsigned integer value indicating the number of elements that should be skipped between each updated element.
scope_reference
An ARRAY scope reference.
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.