SQL Server Transact Basic to Expert - Removing Leading blanks using LTRIM


This blog shows how to remove the Leading spaces of a string using the LTRIM in SQL

Example:

SELECT LTRIM('    String with Leading blanks')

The expected result would be "'String with Leading blanks"



Ebook Download
View all
SQL Jobs
Read by 0 people
Download Now!
Learn
View all