UPDATE destoon_company SET catid =CONCAT(',',catid,',') , catids =catid WHERE (catid REGEXP '[^0-9.]') = 0 LIMIT 8
字符相加
CONCAT
判断字段为纯数字
(catid REGEXP '[^0-9.]') = 0
catid = catids [条一条已经处理并记录]
2021-08-31 00:24:59
UPDATE destoon_company SET catid =CONCAT(',',catid,',') , catids =catid WHERE (catid REGEXP '[^0-9.]') = 0 LIMIT 8
字符相加
CONCAT
判断字段为纯数字
(catid REGEXP '[^0-9.]') = 0
catid = catids [条一条已经处理并记录]