用replace把要删除的字符替换成空串就可以了 update 表名 set 字段=replace(字段,'要删除的串','') where 条件
mysql 删除 某字段中的指定字符串
update 表 set 字段='' where 字段='xxxxx'2012-07-09
用replace把要删除的字符替换成空串就可以了
update 表名 set 字段=replace(字段,'要删除的串','') where 条件2012-07-09
update
表
set
字段 = REPLACE(字段,'123','') where
字段 = 'xxxxx'2012-07-09
通过程序操作, 再更新.2012-07-09