sql server中查询删除含有回车换行制表符的记录
--   制表符             CHAR(9)    
--   换行符             CHAR(10)    
--   回车                 CHAR(13)    
--在表aaa中过滤包含回车换行符的字段b的记录
select * from aaa
where charindex(char(10)+char(13),b)>0  
--在表aaa中把包含回车换行符的字段b的记录的回车换行符去掉
update aaa set b=replace(b,char(10)+char(13),'')

相关文章:

  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
猜你喜欢
  • 2022-01-07
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2021-12-30
相关资源
相似解决方案