vb6.0 sql语句使用变量为条件查询时候报错

2025-02-26 08:29:11
推荐回答(3个)
回答1:

select *from company where comp like '%" & sc& "%'" 具体使用方法看 like 语句

回答2:

"select * from company where comp =‘ “ & sc & ” ’"

回答3:

楼主,怎么解决后面的报错