17.10 - OTRIM Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

System Function

[TD_SYSFNLIB.] OTRIM ( array_expr [, integer_value ] )

Method-Style

array_expr.OTRIM ( [ integer_value ] )

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