替换字段数据值

UPDATE `A`
SET 
    `B` = REPLACE(TRIM(`formulas`), '+试用期', ''),
    `C` = REPLACE(TRIM(`descriptions`), '+试用期', '')
WHERE 
    `B` LIKE '%+试用期%' OR 
    `C` LIKE '%+试用期%';

 

posted @ 2025-11-19 15:23  八英里  阅读(2)  评论(0)    收藏  举报