TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Removing Trailing blanks using RTRIM
Karthikeyan Anbarasan
Jun 15, 2011
3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Removing Trailing blanks using RTRIM
This 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"
SQL Server Transact Basic to Expert - Removing Trailing blanks using LTRIM
Next Recommended Reading
SQL Server Transact Basic to Expert - Decreasing a date value to 4 months using SQL query