UPDATE mytable SET mycolumn= LTRIM(RTRIM(mycolumn));
works fine on trimming columns removing trailer spaces, but how can i adjust it to trim all column
you expand the query for each column:
UPDATE mytable SET mycolumn = LTRIM(RTRIM(mycolumn)), mycolumn2 = LTRIM(RTRIM(mycolumn2)), ...;