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

相關文章
相關標籤/搜索