update 表名 set 字段名=Rtrim(Ltrim(字段名)) 转载于:https://www.cnblogs.com/lizhao/archive/2010/07/10/1990459.html