× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Empirically speaking, EXISTS runs much faster on the iSeries.  I don't know
why exactly.  I can only speculate that it's due to some early-exit scheme
in the db code.

-----Original Message-----
 Subject: Re: SQL UPDATE using INNER JOIN?

Is there any difference/advantage to using the EXISTS vs the IN clause? This
is the way I'm currently trying to do it. However, The whole reason for
researching the INNER JOIN was due to this taking a really long time to run.
When the IN clause is used it would appear to be re-querying the table for
every record. You can imagine the overhead and time involved if there are
several hundred thousand records.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.