ASP Paging with Stored Procedure
- From: "Adam Knight" <Adam Knight@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 May 2005 18:38:01 -0700
Hi all,
I am wanting to implement paging with asp & sql server 2000.
In mysql i would simply issue a 'Limit clause such as Limit 10,1'.
In sql server i know you use SET ROWCOUNT to specify the number of rows to
be returned. My difficulty is how do i get the starting row for my paging.
In simple terms i want to retrieve 'n' number of rows after record as
position 'i'.
How can i do this?
I have read through asp faq, and it has helped but still fuzzy on this
particular item.
I am prefering not to retrieve all records in a table and use ado to filter
them for performance reasons.
Help appreciated!!
.
- Follow-Ups:
- Re: ASP Paging with Stored Procedure
- From: Bob Barrows [MVP]
- Re: ASP Paging with Stored Procedure
- Prev by Date: Re: Help with Query
- Next by Date: Re: ASP Paging with Stored Procedure
- Previous by thread: not able to connect to oracle 9i data base thru ASP page
- Next by thread: Re: ASP Paging with Stored Procedure
- Index(es):
Relevant Pages
|