sql -- 移除数据中的换行符和回车符

https://blog.csdn.net/jcx5083761/article/details/40185795

 --移除回车符

update master_location
SET street_number = REPLACE(street_number, CHAR(13), '')

--移除换行符

update master_location
SET street_number = REPLACE(street_number, CHAR(10), '')

猜你喜欢

转载自www.cnblogs.com/LuoEast/p/9212887.html