4 responses to “Pagination Query for SQL Server”

  1. Andrei Chirila

    It will not work for versions of SQLServer prior to 2005 as these do not natively support a function such as row_number() (it has been introduced for SQLServer 2005 due to the lack of such a useful function). There are different solutions to cope with this issue for previous, ranging from stored procedures to tricky SQLs. You may google it.

  2. Tuvian
  3. Jaskaran Singh

    It was very helpful.

Leave a Reply


*