In this post, we will discuss how we can get trims values of a column in SQL server 2008.
New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features
Also, you can check out my previous posts on:
Suppose you have a column name as firstname of varchar type and if it contains any white spaces then when you run the select sql statement like below,
Select firstname from employees
Then it will return all the firstname of all the employees but also the whitespaces will come if any with the names.
so to trim the spaces you can write the select sql statement like below:
SELECT LTRIM(RTRIM(firstname)) AS FirstName from employees
This will trim the whitespaces from the column values.
FREE SHAREPOINT 2019 PDF
(Installation & Features)