菜问问

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年6月19日

摘要: Update dede_addonsoft SET dxylink=REPLACE(dxylink, '.zip', '.rar') where aid > 45553;update `table_name` set field = replace(field,'.rar','.7z');table_name:要查询的表名, field:表里的字段名, replace(field,'.rar','.7z'); :正则匹配,把field字段里的 .rar 替换为 .7z MySQL正则表达式替换 阅读全文
posted @ 2013-06-19 14:06 菜问问 阅读(2382) 评论(0) 推荐(0) 编辑