× 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.



<snip>
Otherwise it will not matter that much.
Both methods will have to do somekind of select and will consume
comparable totals of resources.
</snip>

I would disagree strongly with this statement. Using a loop with an
update file means that each record is read one record at a time, locked,
returned to the program, delete issued or locked must be released and
then repeated again.

Nothing takes more resources on an AS/400 than logical I/O and
especially when you have no buffering.

Huge amount of overhead.

With SQL all of this occurs at the OS level and the OS is only going to
bring in records it needs, not the whole table.

Reading every record in was bad code before SQL and still is.

SQL just makes it simple.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.