SQL Server 2008 paging methods?

前端 未结 7 577
傲寒
傲寒 2020-11-29 06:23

I have to work with a potentially large list of records and I\'ve been Googling for ways to avoid selecting the whole list, instead I want to let users select a page (like f

7条回答
  •  一整个雨季
    2020-11-29 06:41

    Why not to use recommended solution:

    SELECT VALUE product FROM AdventureWorksEntities.Products AS product order by product.ListPrice SKIP @skip LIMIT @limit

提交回复
热议问题