t-sql how to remove spaces in varchar column code example Example: remove spaces sql 2008 SELECT RTRIM(LTRIM(' Word '))