postgresql替换换行符

update yourtable set content = replace(content, chr(10), '')

where content like '%'||chr(10)||'%'

猜你喜欢

转载自lixiaokui11.iteye.com/blog/2152716