replace(object, search,replace)
把object中出现search的全部替换为replaceselect replace('www','w','abc') --->abcabcabc
把表table中的name字段中的 aa替换为bbupdate table set name=replace(name,'aa','bb')
即
UPDATE `cdb_name` SET `field_name` = replace (`field_name`,'from_str','to_str')