RTRIM() function in SQL Server

By | August 13, 2014
RTRIM():-This function is used to get the string after the removal of all trailing blanks.

Syntax:-

RTRIM ( character_expression )

For example:-

Select RTRIM(‘Vivek Johari  ‘)

Result:-

Vivek Johari (without blank spaces on Right side)

DMCA.com

Leave a Reply