On Tue, 01 Jan 2013 21:24:06 -0600, Vernon Hamberg wrote:

If your file is set to reuse deleted records, the RRN is not guaranteed
to be in chronological order, so this would not work.

Yup. True. Gotta catch a break somewhere though. Maybe it would work in
this situation. Or maybe just using the "fetch first row only" clause
would work without an "order by", if the age of the record doesn't
matter, and there are no other ordering criteria available.

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact