Re: is pivoted phones view updateable?
Date: 13 Nov 2006 09:30:24 -0800
Message-ID: <1163439024.641672.37650_at_h54g2000cwb.googlegroups.com>
NENASHI, Tegiri wrote:
> Aloha Kakuikanu wrote:
> > Tchuzhie Giri wrote:
> > > It is not "OK" so long as one does not have your rules of updatability.
> > > You put a pile of symbols on the pile of symbols: it does not have
> > > sense without the rules. Please provide the rules, simple examples
> > > and then one can go to more complex examples.
> >
> > Given two relation variables
> >
> > Y(n, #) -- aka WorkPhones(name, number)
> > and
> > Z(n, #) -- aka CellPhones(name, number)
> >
> > and two relation constants
> >
> > A = {(t='work')}
> >
> > and
> >
> > B = {(t='cell')}
> >
> > is the view
> >
> > X = (Y /\ A) \/ (Z /\ B) -- aka ConsolidatedPhones
> >
> > updateable? There is no minus operator involved. The only two RA
> > operators are join /\ and union \/.
>
> I do not have an idea -- you did not give the rules of your dialect to
> deduce if the updation is possible. But one can deduce of your oblique
> talk that you utilize the rules of C.J. Date for the update of the
> union. If it is true then the insert updatability depends of the value
> of 't'. C.J. Date critiques his rule for this dependency but does not
> see a good choice.