如果需要批量修改某一字段的一个值可以使用

(1)update 表名 set 字段名=replace(字段名,原值,新值);

(2)update 表名 set 字段名=新值 where 条件(字段名=原值);

(3)update 表名 set 字段名=新值 where 条件(字段名 is not null);

Logo

更多推荐