SQL语句的问题
这样一条SQL语句应该怎么写出来呢
int setnum=5
select top setnum * from Product where BigClass=6 order by ID
其实重点就是setnum这个地方怎么写
------解决方案--------------------sql= "select top " & setnum & " * from Product where BigClass=6 order by ID "
------解决方案--------------------up