SQL Server Transact Basic to Expert - Removing Trailing blanks using RTRIMKarthikeyan Anbarasan15yPublished Jun 15, 2011, 12:00 AMUpdated Jun 15, 2011, 8:54 AM3.4k00Reactions×25BlogThis blog shows how to remove the trailing spaces of a string using the RTRIM in SQL Example:SELECT LTRIM('String with Trailing blanks ')The expected result would be "'String with Trailing blanks"CommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.