MySQL 实现字符串换行

target_describe字段值中包含  ;【 这两个特殊的字符 ,想要在字符之间加换行 需要插入CHAR(10) 
UPDATE ew_pm_project_red_detail SET target_describe=REPLACE(target_describe,';【',CONCAT('',CHAR(10),''))

UPDATE ew_pm_project_red_detail SET target_describe=REPLACE(target_describe,';【',CONCAT(';',CHAR(10),'【'))

原文地址:https://www.cnblogs.com/wms01/p/8397382.html