|
> From: Bramley, Stu > > Given that you know the lower and upper limits then if the SQL statement > said something like: > > select * from j4pp1 where key1 >= ('1') and key1 <= char(:count) > > Then the cursor wouldn't need to be closed every time.. This defeats the purpose of the test, which is to compare the performance of a single-record fetch, as would occur dozens of times in any typical OLTP application. Getting an item master record, or getting a price record, or getting an inventory record. Joe
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.