sql替换字符串中的字符

update userinfo set photo=replace(photo,'http://localhost:8080/','');

要实现把photo字段中的路径前面的域名去掉。sql

相关文章
相关标签/搜索