update TableName set ColumnName=REPLACE(ColumnName,' ','')
Sq语句来删除字段中的空格
原文:http://blog.csdn.net/jiankunking/article/details/45368991