RTRIM

Purpose

RTRIM deletes all of the characters specified in the expression trim_chars from the right border of string.

Syntax

rtrim::=

Usage Notes

If parameter trim_chars is not specified, spaces are deleted.

Example

SELECT RTRIM('abcdef','afe');