| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: What databases have taught me
Marshall wrote:
> Bob Badour wrote:
>
>>Would (R AND x = 1 AND y = 2) = (x = 1 AND y = 2 AND R) ?
>>If so, wouldn't that make name resolution kinda complicated and perhaps >>error-prone?
How will the dbms know when a name refers to an attribute vs a relation variable?
Consider:
R AND x = y
What if the dbms has relvars x and y and R has attributes x and y?
As to error-prone,
> (assuming we are talking about the progammer writing the
> above code) yes, it might be, especially at first. I would
> expect to address that issue with coding conventions and
> possibly syntactic support. It's hard to say how much of
> an issue that will be without field experiece. (Which I don't
> have with this question.)
Okay, as long as we are not talking about the language the programmer works in, one can handle name resolution syntactically in the human-readable language and use something unambiguous internally. Received on Fri Jun 23 2006 - 21:41:09 CDT
![]() |
![]() |