想查询SQL2000中的数据.
我用SQL内部的查询分析器,能查到,SQL语法正确.
但在VB里却不能查到,为什么?
sql="select * from Table where IDStr like '11%' and Name='" & name1 & "'"
用like查询到底该怎么写?