去掉字段中的空格但英文字段不去空格
1 update aaa set
2 name = replace(name,' ','')
3 where Unicode(ltrim(name)) <> ASCII(ltrim(name))
4
5 update tab1 set
6 name = rtrim(ltrim(name))
7 where Unicode(ltrim(name)) = ASCII(ltrim(name))
2 name = replace(name,' ','')
3 where Unicode(ltrim(name)) <> ASCII(ltrim(name))
4
5 update tab1 set
6 name = rtrim(ltrim(name))
7 where Unicode(ltrim(name)) = ASCII(ltrim(name))