replace使用规则:
repalce(要置换的字段,需要替代的字符,替换后的字符)


如将bankmember表  intro字段的 '  单引号,替换为'

update bankmember set intro=replace(cast(intro as varchar(8000)),'''',''')

==========

记得是用'单引号哦,如果有更多的语句,希望大家能帮我指点下。谢谢。

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2021-04-28
  • 2021-05-18
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2017-12-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
相关资源
相似解决方案