sql server 搜索替换空格,换行,回车之类的字符

/*char(10) -回车 ,char(13)-换行,‘ ’空格之类的
update bom_BillListTab set Bak = replace(Bak,CHAR(10),'')
where ParentProduct like '0621011000%' and Bak<>''date

/*搜索字段中的其余字符的位置List

select productid,ParentProduct,Bak,CHARINDEX(CHAR(10),bak)
from bom_BillListTab where ParentProduct like '0621011000%' and Bak<>''select

相关文章
相关标签/搜索