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)
 Searching for Range of Records

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-05 : 00:33:29
rajiv writes "I need to search the records from a table from a specified range. I need to make a search page where the user will be shown only 10 records at a time and will have an option for "Next" and "Prevoius" 10 records. I need to extract the records starting from and ending to the position of the rownumber i will specify.
eg.
i will pass 2 arguments 5,15 and i will get the records with RowNumber from 5-15

As in SqlServer 7.0 there is no provision to find a rownumber i will be using my own method to extract the rownumber of the records.

The result set has to be sorted according to the rownumber."
   

- Advertisement -