去除Sql Server中回车换行符

时间:2015-01-16 16:06:09   收藏:0   阅读:528

这里使用了,sql 函数。replace(string_expression , string_pattern , string_replacement),

第一个参数:要查找的字段。

第二个参数:要查找的字符。

第三个参数:要替换成的字符。

char(10)换行键
char(13)回车键

 

 REPLACE(需要替换的字符串, CHAR(13) + CHAR(10),‘‘)

 

原文:http://www.cnblogs.com/caoyc/p/4228605.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!