mySQL中replace的用法

2015-05-19 0 522
mySQL中replace的用法
UPDATE tb1 SET f1=REPLACE(f1, 'abc', 'def'); 
/**
REPLACE(str,from_str,to_str) 
在字符串 str 中所有出现的字符串 from_str 均被 to_str替换,然后返回这个字符串 
**/

遇见资源网 sql mySQL中replace的用法 http://www.ox520.com/17633.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务