替换数据库中某字段的内容的语句

UPDATE News
SET content = REPLACE(content, 'aaa', 'bbb') WHERE (content LIKE '%aaa%')

 

来源网址:http://bbs.blueidea.com/thread-2225754-1-1.html

posted on 2012-07-04 12:40  小林--2012  阅读(167)  评论(0)    收藏  举报

导航