Returns the subscript of the element prior to the element specified for array_expr, if that element is currently populated.
Syntax
System Function
[TD_SYSFNLIB.] OPRIOR ( array_expr, { index value | array_bound } )
Method-Style
array_expr.OPRIOR ( { 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
- 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.