|
So it's the Where statement I need to pay attention to in addition to the Order By when determining which fields to make the key fields in my index?
I gave #2 a try and it worked. I can't use #1 because after the read there is a lot of stuff happening before the update.
I changed the Select to also have:
For Update of StmDte, Corp#, Loc#, Dept#, PrtFlg, SvPrtFlg
Although in doing this it was no longer fetching for 250 like my statement requests, and instead was fetching 2 at a time.
-Kurt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.