char(10)表示换行符
char(13)表示回车符
# 替换字符串中换行符
update test set address= replace(address,char(10),'');
# 替换字符串中回车符
update test set address= replace(address,char(13),'');
char(10)表示换行符
char(13)表示回车符
# 替换字符串中换行符
update test set address= replace(address,char(10),'');
# 替换字符串中回车符
update test set address= replace(address,char(13),'');