Re: is pivoted phones view updateable?
From: NENASHI, Tegiri <tnmail42_at_gmail.com>
Date: Fri, 17 Nov 2006 19:20:41 +0100 (CET)
Message-ID: <Xns987E87D56F3BEasdgba_at_194.177.96.26>
>
> You made a typo, as clearly you didn't mean v1 = {1,2,.., 10}, or is
> a constant in other words.
>
> r1 union {1,2,.., 10} = {1,2,.., 10}
Date: Fri, 17 Nov 2006 19:20:41 +0100 (CET)
Message-ID: <Xns987E87D56F3BEasdgba_at_194.177.96.26>
"Aloha Kakuikanu" <aloha.kakuikanu_at_yahoo.com> wrote in news:1163785724.105471.177880_at_j44g2000cwa.googlegroups.com:
>> "Aloha Kakuikanu" <aloha.kakuikanu_at_yahoo.com> wrote in >> v1 is the view that is a subset of r1: v1 = {1,2,.., 10}. I removed >> the attribute name for simplicity.
>
> You made a typo, as clearly you didn't mean v1 = {1,2,.., 10}, or is
> a constant in other words.
I made a typo because before I wrote: v1 = {r1|x = 1..10} instead of v1 = {x in r1|x between 1 and 10}; it is the same like select x from r1 where x between 1 and 10.
> What you meant to say:
>
> v1 = r1 join {1,2,.., 10}
It was a selection, it was not a join.
>
>> > >> > I agree that this example is not invertible. But switch the roles >> > of 10 and 100 and it becomes updateable! >> >> Please explain.
>
> r1 union {1,2,.., 10} = {1,2,.., 10}
>
> v1 = r1 join {1,2,.., 100}
>
> v1 is invertible.
Please do gradually:
- The database has only r1 = {1..100}
- The view v1 = {x in r1|x between 1 and 10}
- Show that v1 is invertible.
If one needs the universal set it is not practical but we can discuss: you must show the implementation of the universal set.
What notation you prefer ? I can use any notation that you like.
-- TegiReceived on Fri Nov 17 2006 - 19:20:41 CET
>
>