标签:style ar color 使用 sp as sql har table
一、在SQL查询的字段中如果包含tab、enter、空格键,可以使用ascii码进行替换:
--替换了文本中含有tab键,Enter键,空格键的ascii码
select REPLACE(REPLACE(REPLACE(Fields,CHAR(9),‘‘),CHAR(10),‘‘),CHAR(13),‘‘) from Table
使用SQL除掉文本中特殊的ascll字符比如Enter,Tab,空格键
标签:style ar color 使用 sp as sql har table
原文地址:http://www.cnblogs.com/cangowu/p/4133357.html