SyntaxFix
Write A Post
Hire A Developer
Questions
The closest I could make is
select * FROM( SELECT *, ROW_NUMBER() over (ORDER BY ID ) as ct from [db].[dbo].[table] ) sub where ct > fromNumber and ct <= toNumber
Which I guess similar to select * from [db].[dbo].[table] LIMIT 0, 10
select * from [db].[dbo].[table] LIMIT 0, 10