Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Returning x thru y rows of a recordset

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-04-14 : 17:59:21
Tomasz writes "I currently have a stored procedure which returns all rows for specified criteria. I need to alter the procedure to return a limited number of rows, but at a dynamically assigned starting point (i.e. rows 20 to 30 or rows 50-100 etc.).I know the "TOP" keyword will return the first x number of rows, but how do I then get the next x number of rows?"
   

- Advertisement -