Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: get x number of records from the table
This limiting of records to display should, I feel, be done by the
application, not the query. Have the program open the cursor and fetch the
limit for records on a page, and then display the page, if the user asks for
more then fetch the next set.
"Rafia Tapia" <rafiat_at_bellatlantic.net> wrote in message
news:LiLn7.7152$tL2.661683_at_news1.rdc1.nj.home.com...
> Hi
> I have the following problem and any help will be appreciated. I am
writing
> an asp application with oracle 8.0 as the backend. I have a table
> with million records. now i have to show 30 records per page. in other
words
> the first web page shows the record form 1-30 then when the user clicks
next
> the second page shows 31-60 records and so on. My question is how do i
tell
> the oracle to send me the first 30 records or the 30-60 records and so
forth
>
> Rafia
>
>
Received on Thu Sep 13 2001 - 15:44:57 CDT