Paging SQL Server 2005 Results

前端 未结 6 2022
攒了一身酷
攒了一身酷 2020-11-28 04:53

How do I page results in SQL Server 2005?

I tried it in SQL Server 2000, but there was no reliable way to do this. I\'m now wondering if SQL Server 2005 has any buil

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 05:31

    I believe you'd need to perform a separate query to accomplish that unfortionately.

    I was able to accomplish this at my previous position using some help from this page: Paging in DotNet 2.0

    They also have it pulling a row count seperately.

提交回复
热议问题