how to remove spaces from column in sql server in where clause code example Example: remove spaces sql 2008 SELECT RTRIM(LTRIM(' Word '))