OEXTEND Syntax - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantageā„¢

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.