update table set field=replace(field,'oldString','newString')

update 表名 set 字段名=replace(字段名,'原内容','新内容')

update p_doctor set head_url = replace(head_url,"http://www.sxzyy.com/WebAppUpFiles/Images","http://sxzyy.jkproxy.jingcaiwang.cn/upload") where hospital_code="sxszyy" and head_url !='';
select * from p_doctor where hospital_code="sxszyy" and head_url !='';
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐