摘要: sql += "and t1.CarNum like '%@CarNum%' "; //错误的写法 sql += "and t1.CarNum like '%'+@CarNum+'%' ";//正确的写法 阅读全文
posted @ 2021-12-15 18:30 vba是最好的语言 阅读(99) 评论(0) 推荐(0)
摘要: select * from table where instr(concat(',','1,2,3',','),concat(',',id,',')) > 0 select charindex(concat(',',1,','),concat(',','2,31',',')) select * fr 阅读全文
posted @ 2021-12-15 15:10 vba是最好的语言 阅读(422) 评论(0) 推荐(0)