RTRIM Function In SQL Server 2008
In this article i will explain how to use RTRIM Function in SQL.
Introduction
RTRIM() Function removes trailing space characters and return the text without the spaces at the end of sentence.
Syntax
SELECT RTRIM (character_expression)
|
where character_expression could be a constant variable or column.
Example
Remove trailing spaces from given string.