例如又一表中数据为id - name - sex - addr - tel
'1' - 'Kogeo' - '男' - '珠海' - '1:0756:888888,2:0750:9999999'update正则替换replace(替换对象,被替换字符,替换);update {资料信息表} set tel = replace(tel,($0)($1),($0)0000000) where id=1 and tel regexp '(0756:)[^,]*,'可以使用这种方式替换吗? 谢谢
调试欢乐多
那只能 select 出来 用变量 修改 再update 吗 ? 还是可以有其他的方法实现 匹配参数 update 呢?