RTRIM Function Syntax | Teradata Vantage - 17.10 - RTRIM Function Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1145-171K
Language
English (United States)
[TD_SYSFNLIB.] RTRIM ( expr1 [, expr2 ] )

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
expr1
A character string or string expression. If expr1 is NULL, NULL is returned.
expr2
A string of characters or a numeric expression that will be removed from string1. If expr2 is specified, it must be the same datatype as expr1. If expr2 is not specified, the default is to use a single space character.