sql替換字符串中的字符

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

要實現把photo字段中的路徑前面的域名去掉。sql

相關文章
相關標籤/搜索