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
To remove Enter:
Update [table_name] set [column_name]=Replace(REPLACE([column_name],CHAR(13),''),CHAR(10),'')
To remove Tab:
Update [table_name] set [column_name]=REPLACE([column_name],CHAR(9),'')