OTRIM

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

Removes one or more populated elements from the end of array_expr.

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 optional unsigned INTEGER value indicating the number of populated elements to remove from the array. The default value is 1.