![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Why do implementation languages not allow this? *Surely not for logical reasons? *We can delete from projection because NOT Pa implies NOT Pab, eg., <NOT> R{a} -> <NOT> R{a,b}. *Logically, we can insert to projections because Pab implies Pa. *Isn't the problem really a language deficiency? |
#3
| |||
| |||
|
|
The only RA operation, that seems to allow view updates is renaming. |
|
I suggest that the idea that we focus on basic relational algebra operators, figure out which updates of these are legitimate, then leverage this knowledge for complex view updates is fundamentally wrong. Consider a "pivot" view: ... |
#4
| |||
| |||
|
|
Tegiri Nenashi wrote: ... The only RA operation, that seems to allow view updates is renaming. Since when does RA have views? |
|
I suggest that the idea that we focus on basic relational algebra operators, figure out which updates of these are legitimate, then leverage this knowledge for complex view updates is fundamentally wrong. Consider a "pivot" view: ... Since when does RA have updates? |
#5
| |||
| |||
|
|
On Sep 4, 10:52 am, paul c <toledobythe... (AT) oohay (DOT) ac> wrote: Tegiri Nenashi wrote: ... The only RA operation, that seems to allow view updates is renaming. Since when does RA have views? View is a named RA expression. ... |
#6
| |||
| |||
|
|
Tegiri Nenashi wrote: On Sep 4, 10:52 am, paul c <toledobythe... (AT) oohay (DOT) ac> wrote: Tegiri Nenashi wrote: ... The only RA operation, that seems to allow view updates is renaming. Since when does RA have views? View is a named RA expression. ... In other words, view is a language device. *RA has no ambiguity, so if your chosen dbms language allows ambiguous results, it is due to your choice of language, |
#7
| |||
| |||
|
|
Let's get back to the main point. I'm suggesting that analysis of simple relational expressions update won't be useful. Suppose a view is composition of join, selection, and projection. Each of these can violate some restrictions that you would propose based on analysis of basic relation updates. Yet, the view can still be updatable. |
#8
| |||
| |||
|
|
replace only the value of one of the several relations involved. If a language is based on a convention that says only named expresssions can have their values replaced, I wouldn't argue with that. ... |
#9
| |||
| |||
|
|
On Sep 4, 10:52 am, paul c <toledobythe... (AT) oohay (DOT) ac> wrote: Tegiri Nenashi wrote: .... I suggest that the idea that we focus on basic relational algebra operators, figure out which updates of these are legitimate, then leverage this knowledge for complex view updates is fundamentally wrong. Consider a "pivot" view: ... Since when does RA have updates? I understood this thread was about view updates. Projection view to be exact. |
#10
| |||
| |||
|
|
insert to projection means asserting an implication, all you need is a language that allows you to assert an implication so I say why not play the ball where it lies? ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |