OPRIOR

Teradata Vantageā„¢ Data Types and Literals

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

Purpose

Returns the subscript of the element prior to the element specified for array_expr, if that element is currently populated.

Syntax

System Function

Method-Style

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.