I have trailing spaces in a column in a SQL Server table called Company Name.
Company Name
All data in this column has trailing spaces.
I want to remove all
Example:
SELECT TRIM(' Sample ');
Result: 'Sample'
'Sample'
UPDATE TableName SET ColumnName = TRIM(ColumnName)