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.