version 11
RTRIM (arithmetic_expression[, arithmetic_expression])
Description
The RTRIM function removes any empty spaces from the end of the arithmetic_expression. The optional second arithmetic_expression can be used to indicate specific characters to be removed from the end of the first arithmetic_expression.
Example
This example removes any empty spaces from the ends of the product names:
SELECT RTRIM(Name) FROM PRODUCTS;
See Also