- 博客(1)
- 收藏
- 关注
转载 mysql 更新某个字段的部分内容
<br /> <br /> <br />语法:update table_name t set t.row_name=replace(t.row_name,'old_value','new_value')<br />注:table_name 表名; row_name 被更新的列名; old_value 要被更新的值; new_value 更新的新值<br />例如:将content里的www,替换为'http://file.resources.tt.515best.com的语句如下:<br /
2010-12-20 16:40:00
451
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人