sql remove one column taking all the space code example
Example: space not removing from column in sql
update thetable set thecolumn = rtrim(replace(thecolumn, char(160), char(32)))
update thetable set thecolumn = rtrim(replace(thecolumn, char(160), char(32)))