RTRIM(string_exp)

Returns the characters of string_exp with trailing blanks removed.

 

Example:

SELECT RTRIM('ABCDE ') returns ABCDE