select top 每页显示的数据数量 from tablename 
基本思路是这样的,需要使用动态语句。

解决方案 »

  1.   

    无法直接用sql处理, 得再查一次
      

  2.   

    无法直接用sql处理, 得再查一次
                       无论你是使用类型的语句再次查询
                       还是在把第1次查询的结果绶存到临时表
                       即使你用程序, 也得在结果中再查一次
      

  3.   

    自己测试:
    select top 10* from tempSign where location1 not in (select top 50000 location1 from tempSign order by location1)order by location1select top 100* from (select top 290000 * from tempSign order by location1 )as tb order by location1 desc我想要更快的