Last active
August 28, 2019 04:19
-
-
Save liuxd/81426a9378b0dbf1957cd35eb7b94db9 to your computer and use it in GitHub Desktop.
[Offset, Limit] #MSSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# offset and limit. The query must be ordered. | |
SELECT * FROM Person.Person ORDER BY PersonID OFFSET 100 ROWS FETCH NEXT 5 ROWS ONLY; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment