http://qs1969.pair.com?node_id=576557


in reply to SQL Paging with Perl

You have some Perl answers above, but you can also do this in SQL Server using either the TOP n clause or the set rowcount option.

There are drawbacks and advantages to each approach. You can read more about both options in the MS SQL Server reference, or try googling for different perspectives.