17.10 - OEXTEND 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

[TD_SYSFNLIB.] OEXTEND ( array_expr [, num_spaces [, { index_value | array_bound } ] ] )

Method-Style

array_expr.OEXTEND (
  [ num_spaces [, { index_value | array_bound } ] ]
)

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
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
num_spaces
An optional unsigned integer value representing the number of NULL elements to append to array_expr.
index_value
An optional unsigned integer value used as an index to an element in array_expr.
array_bound

An array instance of the predefined array type ArrayVec with a comma-separated list of integer values to define the bounds.