SELECT * FROM sdBdcqzs WITH(NOLOCK) WHERE sZjh LIKE '${QueryZjh}' OR sBH LIKE '${QueryBh}'
通配符%要怎么加?
SELECT * FROM sdBdcqzs WITH(NOLOCK) WHERE sZjh LIKE '%${QueryZjh}%' OR sBH LIKE '%${QueryBh}%'
模糊查询-https://help.fanruan.com/finereport/doc-view-164.html