sql trim all spaces in all tables code example Example: remove spaces sql 2008 SELECT RTRIM(LTRIM(' Word '))