| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Thinking about MINUS
Bob Badour wrote:
> paul c wrote: >
> > > Wouldn't one end up with a resulting attribute defined as a union-type > in a relation with no rows?
Maybe, and I would be curious to see that definition work. I believe the conventional stance (ie., most products' stance) is that the result is undefined. If I have that right, my attitude is that means an implementation must support exceptions to handle it. Although I don't object to having exceptions if they give some programming or user safety, for some reason I can't explain, I don't like the idea of a system that allows undefined conditions to be produced and then must support exceptions to cope with them.
Apart from that, when the types are the same, even the most frequent conventional union/"INSERT" disturbs me a little, ie., when its definition is based on OR or <OR> in TTM and we have a candidate key. I suppose that when a system supports assignment to a variable and two tuples in union'ed relation operands are contradictory, maybe it is reasonable for NEITHER to show up in the result!
p Received on Sun Jan 07 2007 - 12:54:25 CST
![]() |
![]() |