|
From: BirgittaHauser
are added, so that's not an issue.From my testing, I know that new records will appear in a cursor as they
That's not always true. SQL tends to create temporary objects, that are
only actualized if an OPEN statement gets executed.
But it is possible to force the optimizer to use life data, by either
compiling a program with embedded SQL with the Option ALWCPY = *NO or
specifying a cursor as sensitive. SQL performance will be better if the
optimizer can use temporary objects.
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.