开发者

remove enter mark in varchar column

开发者 https://www.devze.com 2022-12-14 00:51 出处:网络
My Data has \"enter\" mark in one of the columns. How do I remove it and display the text 开发者_开发技巧on a single line? phpMyAdmin does show that word on 2 lines.update table set field=replace(fiel

My Data has "enter" mark in one of the columns. How do I remove it and display the text 开发者_开发技巧on a single line? phpMyAdmin does show that word on 2 lines.


update table set field=replace(field, "\n", "");
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号