| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: RA with MV attributes
Marshall wrote:
> On Jan 17, 5:43 am, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
>
>>Marshall wrote: >> >>>Types may disappear (or not) at runtime; values do not exist at >>>compile time. If we remove this distinction, we remove valuable >>>capabilities from our language. >> >>I don't follow that at all. Types and values just are.
>>>Consider the idea of join compatibility. This is violated if we attempt >>>to join two relations each having an attribute of a given name but a >>>different type in each relation. Now, whatever your feelings >>>about how this should be handled, warning, error, whatever, we have >>>to consider the question of when and whether this situation can be >>>detected. >> >>I assume by "different type" you mean neither type shares a subtype >>other than the universal subtype.
Indeed. I wrote Bryn Rhodes at Alphora just recently to ask about this very issue. Apparently, they replaced subtyping with a system of implicit conversions, and they hope to reintroduce subtyping later (probably via inheritance by the sound of it.)
I can see how one might use such a mechanism as a limited replacement to subtyping. If one does not understand subtyping, though, I wonder how one is to recognize when it is appropriate (and more importantly inappropriate) to have an implicit conversion.
It seems to me the only safe implicit conversions are conversions from subtypes to supertypes. Received on Sat Jan 20 2007 - 08:53:20 CST
![]() |
![]() |