Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Limit Results Set / Paging Trough Records


Message #1 by the__book@h... on Sun, 27 May 2001 18:57:54
www.adOpenStatic.com/experiments/recordsetpaging.asp

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: Using MS SQL v7.0, I'm trying to develope a Stored Procedure that will
: return a given page, and then a given number of results in that page.
: i.e.  I want to select records 1-15, then 16-29...and so on.  Below is a
: solution that works using a temporary table, but I'm wondering if there is
: a different/better way do perform this action server side especially
: without using a temporary table.  I see that MySQL uses a "limit"
: paramater, but if I'm seeing things right, MS SQL does not implement such
: a paramater because the ANSI standard does not call for one.
:
: Thank you,
:
: TheBook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Return to Index