Interestingly today we found that on certain situations the following query worked better than the query I submitted. (SQL 2000). It is not always, but there is a difference at times. I have not explored the reasons yet. but a heads up so that you all can start a research on the best method
SELECT * FROM (
SELECT TOP 30 * FROM
(SELECT TOP 60 * FROM Person.Contact ORDER BY ContactID) A
ORDER BY ContactID DESC
) B ORDER BY ContactID
If you don’t want the rows to be ordered (I need only the rows from 30 -60, but on any order) you can remove the first and last rows. You may get the rows in reverse order (60, 59, 58 ... etc.)
G.R.Preethiviraj Kulasingham MCITP: DBA
http://preethiviraj.blogspot.com/
Plan Your Work and Work Your Plan!