Mysql delete the space before and after the string

 update  table  set  field = replace(replace(replace(field,char(9),''),char(10),''),char(13),''); 

 

Guess you like

Origin www.cnblogs.com/mr-wuxiansheng/p/10954482.html