首页 > 代码库 > 千万级分页查询

千万级分页查询

--orderid 1:1028 10:10257 20:10267 30:10277--查询第20-30条select top 10 * from Orders where OrderID> (select max(OrderID) from   (select top 20 OrderID from Orders order by OrderID ASC ) t0)order by OrderID ASC

  原文链接:http://www.cnblogs.com/bluedoctor/archive/2011/11/01/2232297.html

千万级分页查询