Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Does Codd's view of a relational database differ from that ofDate&Darwin?[M.Gittens]

Re: Does Codd's view of a relational database differ from that ofDate&Darwin?[M.Gittens]

From: vc <boston103_at_hotmail.com>
Date: 21 Jun 2005 05:56:54 -0700
Message-ID: <1119358614.376536.256130@g43g2000cwa.googlegroups.com>


Hi,

Alexandr Savinov wrote:
>
>... But the FDM query
>
> for each s in employee
> print(getName(s), getAge(s),
> getName(getBuilding(getDepartment(s))))
>
> also does not have any indication about order in which elements will be
> processed and there is no iterator in it

That is correct but insufficient for the fragment to be interpreted in a declarative way. What possible meaning can you ascribe to 'for each' as a function ? 'map' as in map(sqrt, [1,4,9]) evaluating to [1,2,3] ? What does 'for each' evaluate to ? What kind of function is 'print' ? When you ask yourself these questions, the only possible interpretation would be imperative, no matter the original collection traversal order. The same reasoning of course applies to 'return' and such.

vc Received on Tue Jun 21 2005 - 07:56:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US