826

导航

2015年8月4日 #

Mysql全表替换 指定字符串

摘要: update 表名 set 字段名=replace(字段名,要替换的字符串,替换成的字符串) where 条件;例如: update user set sex=replace(sex,'男生','男人') where age>24; 阅读全文

posted @ 2015-08-04 16:12 826 阅读(2544) 评论(0) 推荐(0) 编辑