Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page searching

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all,

I am using a SQL 2000 backend and .NET as the frontend. I would like to have the functionality to display 50 records at a time to my users.

Once I have figured that out, I would like to allow my user the functionality to select a row to start at and then display the next 50 after that.

At first I thought it was a SQL statement that would allow me this functionality. In Oracle I can use the ROWNUM function to specify what rows I want, but on the sql forum they mentioned it maybe a question for here...

Anyone offer opinions or examples of this functionality?
 
I would assume you are selecting records by the Pk. You can just use something like:

Select TOP n FROM x WHERE Table.PK > CurrentPkValue

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top