mysql replace the characters of the field

sql syntax: UPDATE table name SET field name=replace(field name,'string to be replaced','string used to replace'); 

sql: UPDATE `member` SET `phone`=replace(`phone`, ' \'','');

Guess you like

Origin blog.csdn.net/zhaofuqiangmycomm/article/details/114575289