Articles → SQL SERVER → Offset And Fetch Clauses In SQL Servers

Offset And Fetch Clauses In SQL Servers






Purpose







Example




Picture showing the list of records in the sample table
Click to Enlarge



Select * from OffSetFetchDemo
Order BY Id
OFFSET  3 Rows fetch next 3 rows only



Output


Picture showing the output of Offset And Fetch Clauses In SQL Servers
Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Thursday, February 2, 2023

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250