I wonder... How many queries, percentage wise, would actually be ordered by an identity column [which is just an arbitrary value, often used only to enable optimistic update] as the first key, such that the noted technique would be valid?

Regards, Chuck

Mike Eovino wrote:
By any chance, does your table have an identity column? If so, you
can note the identity value of the last record on the page, then do
all subsequent selects where > or < the ID. We've started doing that
in tables we create. <<SNIP>>

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].