OEXTEND Function | Data Types and Literals | Teradata Vantage - OEXTEND - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

Allocates space for one or more new elements in array_expr.

Syntax

System Function
[TD_SYSFNLIB.] OEXTEND ( array_expr [, num_spaces [, { index_value | array_bound } ] ] )
Method-Style
array_expr.OEXTEND (
  [ num_spaces [, { index_value | array_bound } ] ]
)
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.