Returns a string with trailing blanks removed.
RTRIM ( string-expression )
string-expression The string to be trimmed.
The following statement returns the string Test Message, with all trailing blanks removed.
SELECT RTRIM( 'Test Message ' ) FROM iq_dummy