dongyaotou

这两种方式都是可以的:

select * from aaa a where  a.org_code ||\'\' like \'86%\';--推荐使用这种,简单,一看就是高手写出来的

select * from aaa  where  1=1 and cast(org_code as varchar(10)) like \'%1%\';

分类:

技术点:

相关文章:

  • 2021-04-16
  • 2021-11-04
  • 2021-07-05
  • 2021-06-27
  • 2021-12-28
  • 2021-12-05
  • 2021-11-08
猜你喜欢
  • 2021-10-16
  • 2021-11-28
  • 2021-12-18
  • 2021-12-09
  • 2021-08-06
  • 2022-01-08
  • 2021-12-31
相关资源
相似解决方案