1
Sometimes I need to make queries in SQL Server 2000 and paginate the results but there is only the clause TOP
that limits the number of records returned without an interval (offset) other banks like Mysql or Postgresql have it and query would be like this:
SELECT * FROM tabela LIMIT 0, 50
ou
SELECT * FROM tabela LIMIT 50, OFFSET 0
How can I get around this problem or emulate this feature in SQL Server 2000.
From Sql Server 2012 we have Offset which has exactly the same function as the limit. As the upgrade is not possible ...
– gmsantos