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



Larry Ducie wrote:
4. Re: Multi- Occurrence Data Structure (Larry Ducie)

<snip>
Yet we have no problem accepting the implicit "Cycle" that's a fundamental
aspect of SQL set-at-time processing.
</snip>

There is no implicit cycle in SQL. It may be there, but its not implied.

Larry:

I guess I have to ask for some instruction here. Say that I have a statement such as:

==> update myfile set x='1' where y='z'

Why is that not equivalent to a "cycle" (implicit DO-loop) such as (pseudo-code):

read myfile;
do while not EoF
if y='z'
x='1';
update myfile;
read myfile;
enddo;

I've never even considered that there was no implicit "cycle" inside of SQL's set operations. It was natural for me to see SQL in terms of a "cycle" since I'd used RPG for years before SQL started catching on. I've always thought the opposite, that cursor operations commonly involved more explicit cycle coding rather than the implicit "cycle".

Perhaps it's a terminology difference.

Tom Liotta


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.