|
On Thu, Jul 27, 2017 at 5:21 AM, Danny Hayes <Danny_Hayes@xxxxxxxxx> wrote:
Should I be using 'cursors' instead?For the statement shown, INSERT INTO xxx (SELECT ....)
Absolutely not.
Generally speaking, no. Unless you have too, like when loading a subfile
or outputting a report. In that case, make sure to use a multi-row fetch.
As far as ODP, are they causing a problem? If so, what's the problem?
(CLRPFM perhaps?) We can fix that.
If she's just concerned about the number of ODP, don't be. The system will
manage them just fine.
Trust the system. ;)
Charles
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.