Stats

46 Contributors: 3 Tuesday, December 13, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Pagination

Introduction

Row Offset and Paging in Various Versions of SQL Server

Syntax

  • SELECT * FROM TableName ORDER BY id OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY;

Related Examples