Hello all,I have 2 pager query's and would like to know which one is better for a heavy loaded table with lots of useres1)With ListRec As( SELECT ROW_NUMBER() OVER(ORDER BY id desc) AS rownumFROM [Mytable] WHERE id <40000)SELECT * FROM ListRecWHERE rownum >= 90 and rownum < 100
OR2)SELECT TOP 10 idFROM [MyTable] WHERE (id NOT IN (SELECT TOP 90 id FROM [MyTable] WHERE id <40000) And id <40000
Thanks for any help.I would also like to know how can I test it in a neutral environment