| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Thinking about MINUS
paul c wrote:
> Bob Badour wrote:
>
>> paul c wrote: >> >>> Walt wrote: >>> ... >>> >>>> Either NOR or NAND are enough to bootstrap to the rest of it, >>>> provided you >>>> make one little extension to them: >>>> >>>> NOR or NAND with only one operand is NOT. >>>> >>>> I don't know where it leads regarding database, either. Just a random >>>> thought. >>> >>> One of a couple of reasons this topic intrigues me is that certain >>> scenarios aren't closed for operations in Codd's framework, eg., the >>> case when two operands share an attribute name that has different >>> types. I realize that a whole sub-industry has been built to deal >>> with problems like this (based on various design disciplines, >>> knowingly or unknowingly, I don't know), so many people would say I'm >>> silly to wonder, but I can't help it. >> >> Wouldn't one end up with a resulting attribute defined as a union-type >> in a relation with no rows?
Assignment is a whole different ball of wax, though, and context is very important. In one context, the user might want the dmbs to evaluate the join as I described above, and in another context the user might want the dbms to report an error (or at least a warning.)
Particularly, when the user tries to assign the resulting relation to a relvar, the dbms may not have a mechanism to properly respresent the union type to the user -- resulting in an error on assignment. Received on Sun Jan 07 2007 - 13:06:52 CST
![]() |
![]() |