Created
June 26, 2015 19:40
-
-
Save bjartwolf/73b9289097e39aec1492 to your computer and use it in GitHub Desktop.
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
exec sp_executesql N' | |
SELECT FirstName | |
FROM Profile | |
ORDER BY Id | |
OFFSET @offset ROWS | |
FETCH NEXT @pagesize ROWS ONLY | |
',N'@offset bigint,@pagesize bigint',@offset=200001,@pagesize=1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment