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



Alan,

You're welcome.

Don't let all those points to ponder discourage you from deepening your
knowledge and use of SQL. All those points to ponder are the SAME ones
you'd have to consider and address if this were being implemented in RPG,
or any other language.

Ex: you're coding in RPG, doing a READE to a file, you still have to ask
yourself:
* How many matching keys are possible?
* How many do I want to fetch?
* If I want one row out of many, how do I code it to fetch the desired row
and ignore the others?
* etc.

Since SQL, behind the scenes in its plumbing, provides most of the glue
code for you that bonds together all those I/O results, it simply allows
you to accomplish the same things with less lines of code (when used
optimally - i.e. SET logic).

Mike

date: Fri, 30 Jun 2017 21:51:52 +0000
from: Alan Shore <ashore@xxxxxxxx>
subject: RE: Using SQl to obtain a field value from one file or
another

Thanks for the reply Mike
Wow
Many things to Pinder and play with



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.