OPRIOR Syntax - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

System Function

[TD_SYSFNLIB.] OPRIOR ( array_expr, { index value | array_bound } )

Method-Style

array_expr.OPRIOR ( { 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
integer_value

An unsigned INTEGER value.

array_bound

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