SyntaxFix
Write A Post
Hire A Developer
Questions
SQL 2008
Radim Köhler's answer works, but here is a shorter version:
select top 20 * from ( select *, ROW_NUMBER() OVER (ORDER BY columnid) AS ROW_NUM from tablename ) x where ROW_NUM>10
Source: https://forums.asp.net/post/4033909.aspx