SQL Server:替换文本中的回车和换行符

--替换回车符

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

--替换换行符

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

posted @ 2016-05-13 11:38  Seven66  阅读(5640)  评论(0编辑  收藏  举报