Mysql update with Regex

来源:互联网 发布:丁彦雨航cba数据 编辑:程序博客网 时间:2024/05/22 13:58
UPDATE  startdb.historical_incidents
SET     description = REPLACE(description, 'VEHICLASSE', 'VEHICLE')
WHERE   description REGEXP '^VEHICLASSE.*'
原创粉丝点击