清除SQL数据库中文本字段的回车、换行符的方法

清除SQL数据库文本字段中的回车、换行符的方法

 

清除回车符:

update tableName set columnName = rtrim(ltrim(replace(columnName ,char(13),'')))

清除换行符:

update tableName set columnName = rtrim(ltrim(replace(columnName ,char(13),'')))

 

 

 

 

相关文章:

  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
猜你喜欢
  • 2021-12-06
  • 2022-03-02
  • 2022-12-23
  • 2021-11-07
  • 2022-02-17
  • 2022-01-01
相关资源
相似解决方案