16.20 - RTRIM - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2020-03-25
dita:mapPath
xzf1512079057909.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
kby1472250656485

Purpose

Returns the argument expr1, with its right-most characters removed up to the first character that is not in the argument expr2.

Syntax



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.