Re: Relation Schemata vs. Relation Variables




Brian Selzer wrote:

[...] A delete/insert combination would have to
satisfy any delete constraints or insert constraints or both, but that
doesn't mean that the update constraint couldn't still be circumvented.

Indeed, but the point is not whether they can be circumvented or not
because in both aprroaches (your approach and a relational assignment
approach) you can circumvent it. However under the relational
assignment approach one combines inserts and deletes into a single
assignment which would be checked as a whole, so there would at least
be less opportunity to get around it. Of course the tighter control
comes at a price: explicit modelling of an entity-pairing rule in the
transition constraint. But given that making such a thing explicit is
probably not unwise anyway and that it is more faithful to the
"database is a set of propositions" paradigma, I'd say it is the better
option.

-- Jan Hidders

.



Relevant Pages

  • Re: Transfer and variables that dont use all their storage space.
    ... TRANSFER actually places constraints on the pragmatics of assignment ... of the several implementations I have easiest access to, ... might still have bits whose meaning is such descriptors. ...
    (comp.lang.fortran)
  • Re: Ada Interfaces and the Liskov Substitution Principle
    ... You don't have to do anything to make assignment for access T'Class ... constraints ... Assignment is a primitive operation it is defined on T'Class. ... It will dispatch with Unchecked_Deallocation on access T'Class. ...
    (comp.lang.ada)
  • RE: Floating point arithmetic support in DCL
    ... > what are the constraints in the symbol node for the precision and scale? ... > to faciltate import/export of such values. ...
    (comp.os.vms)
  • Re: Logical Rules
    ... This is called an Assignment Problem:http://en.wikipedia.org/wiki/Assignment_problem ... misuse of the term "Linear Program" which normally refers ... a set of slots, with constraints that state that a slot ... you do actually have a standard linear program and you can ...
    (comp.soft-sys.matlab)
  • Re: system() without waiting
    ... | 2 Unless the type name specifies a void type, ... | unary-expression assignment-operator assignment-expression ... | 2 An assignment operator shall have a modifiable lvalue as its left ...
    (comp.unix.programmer)