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.
 
    This example removes any empty spaces from the ends of the product names:
 SELECT RTRIM(Name)
FROM PRODUCTS;