loveLearning

update 表名 set 字段 = trim(字段)

 

ps:在查询中去掉回车的办法:

select REPLACE(字段,\'\r\n\',\'\') from 表

分类:

技术点:

相关文章: