paging

G

gary

What are different ways of provding PAGING THRU
RECORDSETS, I am working on search engine website.

thanks

Gary
 
D

Dave Anderson

Bullschmidt said:
And here's a concept behind a different way of paging:

What's after TOP? by graz - 8/31/2000
http://www.sqlteam.com/item.asp?ItemID=566

That seems even more elegant than the set subtraction technique allowed in
Oracle:

SELECT {fields} FROM {table} WHERE {primary key} IN
( SELECT {primary key} FROM {table or index table}
WHERE {condition} AND rownum < {upper bound}
MINUS
SELECT {primary key} FROM {table or index table}
WHERE {condition} AND rownum < {lower bound}
)

I wonder which is more efficient.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top