Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Date and McGoveran comments on view updating 'problem'

 
Goto page Previous  1, 2, 3
   Database Help (Home) -> Technology and Theory RSS
Next:  Reset Navigation Pane  
Author Message
Brian Selzer

External


Since: Jan 15, 2008
Posts: 527



(Msg. 31) Posted: Mon Dec 15, 2008 5:13 pm
Post subject: Re: Date and McGoveran comments on view updating 'problem' [Login to view extended thread Info.]
Archived from groups: comp>databases>theory (more info?)

"paul c" wrote in message

> Brian Selzer wrote:
>> "paul c" wrote in message
>>
> ... Also, you appear to be laboring under the
>> delusion that relational algebra somehow includes relational assignment.
>
> I feel no such weight on top of me because I know of no such thing as
> 'relational assignment', rather there is language assignment. My focus is
> algebraic as I'll try to explain later, but as far as that I would agree
> that the D&D A-algebra that I'm familiar with has no such thing as
> 'language assignment'. I don't think I ever said otherwise. I think
> Date's Assignment Principle is simply a test for whether a language's dbms
> respects the algebra it's premised on.

Perhaps I was reading too much into your post.

 >> Stay informed about: Date and McGoveran comments on view updating 'problem' 
Back to top
Login to vote
paul c

External


Since: Aug 15, 2007
Posts: 659



(Msg. 32) Posted: Wed Dec 17, 2008 8:29 am
Post subject: Re: Date and McGoveran comments on view updating 'problem' [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bob Badour wrote:
....
> A more important question is: How would one write a constraint that
> deletes from SP ^ S affect SP but not S?
> ...

Using a typical relational algebra, my guess is that it would be
extremely lengthy, much longer than enumerating all the domains
involved. Eg., a disjunction with N-1 <OR> operations where N is number
of possible base headings multiplied by the number of possible
combinations of tuples in those relations, multiplied again by at least
three (since there are nominally three relations involved)! So, I don't
think it is a practical question as far as the RM as I know it is concerned.

Some language notation could be a shorthand for this, eg., S' = S might
mean that an S relvar can never be deleted from nor inserted to. One
might resort to a kind of catalog expression to establish some kind of
prototypical delete form where S' NOTEQUAL S MINUS X and X stands for
any possible relation, ie., any possible MINUS operand. But I'd say the
question is outside the realm of the algebra and therefore out of the
realm of the calculus (even though I know very little of the calculus).
Maybe if the RM admitted recursive structures, some algebra could
handle it and therefore some kind of terse algebraic constraint might be
possible.

Just guesses ...

 >> Stay informed about: Date and McGoveran comments on view updating 'problem' 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
View challenge - I have a number of tables as below: employee(*employeeid, ....) schedule(*scheduleid, recur_interval, ...) emp_schedule(*employeeid, *scheduleid, *valid_from, valid_to) workshift(*scheduleid, *shiftid, starttime, endtime) recur_interval indicates the..

Another motivational example for inverse view - Consider table PolarCoordinates ( theta real, R real, ) with constraints R>0, 0<=theta<pi view CartesianCoordinates select R*cos(theta) AS x, R*sin(theta) AS y from PolarCoordinates This view is clearly updateable, all we ne...

Principal of view equality? - I was just looking at Codd's RM 2 book again (the rather short chapter on views from acm.org) and it seemed to me that what he wrote took it as essential that a view must always equal the expression that defines the view. If so, does this in effect..

is pivoted phones view updateable? - 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...

Avoiding an inline view using DML only - Hi. A user enters a date range (ie. 2 dates, '2008-04-01' and '2008-04-03'), the problem is to determine how many open events exist on each day in this interval. Assume that the "events" table has a "start_date" and an "end_dat...
   Database Help (Home) -> Technology and Theory All times are: Pacific Time (US & Canada)
Goto page Previous  1, 2, 3
Page 3 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]