This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL Server query window.

SQL SERVER – Server Side Paging in SQL Server Denali – Part2

December 26, 2010
Pinal Dave
SQL Performance
SQL Paging, SQL Scripts

Part 2 of server side paging in SQL Server Denali: a reader keeps rows per page and page number in a table, and OFFSET and FETCH can read them from there.

Read More
A thick open book with a vermilion ribbon bookmark deep in its pages, reading glasses resting on it under a lamp.

Pagination With OFFSET and FETCH

July 26, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Paging, SQL Server

OFFSET and FETCH make page-number queries readable, but deep pages scan past prior rows; keyset pagination keeps the next page focused.

Read More
A wooden cribbage board on a cafe table, a red peg marking where play stopped

Keyset Pagination: Next and Previous Pages Without OFFSET

November 5, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Paging, SQL Server

Build keyset pagination with a matching index, unique tie breaker, next and previous queries, and a fair deep-page comparison with OFFSET.

Read More
SQL SERVER - 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) - CTE vs. Derived Table

SQL SERVER – 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) – CTE vs. Derived Table

June 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Paging, SQL Scripts, SQL Server

Paging in SQL Server 2005 with ROW_NUMBER: CTE vs. derived table. I compare both methods and show they give the same performance for common queries.

Read More
Previous 1 2
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com