mysql去除换行
UPDATE dede_archives SET description=REPLACE(description,"\r","");
UPDATE dede_archives SET description=REPLACE(description,"\n","");
mysql表赋值
UPDATE dede_archives SET description = (SELECT body FROM dede_addonarticle WHERE aid = id) WHERE id IN (SELECT aid FROM dede_addonarticle WHERE aid=id);
SELECT * FROM dede_archives;