how to remove white space in sql server code example Example: remove spaces sql 2008 SELECT RTRIM(LTRIM(' Word '))