这两种方式都是可以的: 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-08-06 2022-01-08 2021-12-31 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23