如果需要查询的字符串类型的列的值有单引号和\时

在单引号前面加一个单引号,在\前面加一个\
select * from purchase_order where lmt_fail_reason like '%{u''information'': u''\\u521b\\u5efa\\u5931\\u8d25\\uff0c\\u6570\\u636e\\u5df2\\u5b58\\u5728\\uff0c\\u8bf7\\u52ff\\u91cd\\u590d\\u63d0%'

 

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-12-19
相关资源
相似解决方案