I'm currently using SQL Server 2005. Sometimes, when I export a file in delimited format, there are trailing spaces included in some of the fields. Is that a bug? Doesn't exporting in delimited format normally trim the trailing spaces? If not, is there an easy way to trim every field without having to use the rtrim() command in front of every field in the select statement? (I sometimes have 20-30 fields and hate having to add a trim command for every field.)