![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? |
#3
| |||
| |||
|
|
Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? |
#4
| |||
| |||
|
|
Mr. Scott wrote: Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? I am unfamiliar with an entity integrity rule. It sounds like some shit somone just made up to market ER diagrams. |
#5
| |||
| |||
|
|
"Mr. Scott" <do_not_reply (AT) noone (DOT) com> wrote in message news:IaKdnaZV7ZxZyOnXnZ2dnUVZ_uednZ2d (AT) giganews (DOT) com... Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? It's more reasonable to say that a tuple can be understood to represent some fact which is normally assumed to be true. Entity = Thing. I don't see any special reason why a tuple MUST map to a "thing" (whatever that means) but if you find that interpretation useful then use it. The concept of "Entity Integrity" is not much more than a restatement of what a relation is anyway. It is useful to think of some tables as representing the attributes of |
#6
| |||
| |||
|
|
Mr. Scott wrote: Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? I am unfamiliar with an entity integrity rule. It sounds like some shit somone just made up to market ER diagrams. |
|
http://en.wikipedia.org/wiki/Codd's_12_rules The guaranteed access rule is sometimes called the logical identity rule. |
#7
| |||
| |||
|
|
"Bob Badour" <bbadour (AT) pei (DOT) sympatico.ca> wrote in message news:4a7479f3$0$23783$9a566e8b (AT) news (DOT) aliant.net... Mr. Scott wrote: Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? I am unfamiliar with an entity integrity rule. It sounds like some shit somone just made up to market ER diagrams. I thought Codd referred to the the entity integrity and referential integrity rules as the insert-update-delete rules of the relational model. |
|
The entity integrity rule requires that no primary key value or part of a primary key value can be missing, which ensures that there can be no duplicate rows in a relational table. |
|
http://en.wikipedia.org/wiki/Codd's_12_rules The guaranteed access rule is sometimes called the logical identity rule. Does that mean that entity integrity implies entity identity? Is logical identity the same thing as entity identity? |
#8
| |||
| |||
|
|
Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? Here's the way I learned it, back in 1984. |
#9
| |||
| |||
|
|
Mr. Scott wrote: "Bob Badour" <bbadour (AT) pei (DOT) sympatico.ca> wrote in message news:4a7479f3$0$23783$9a566e8b (AT) news (DOT) aliant.net... Mr. Scott wrote: Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? I am unfamiliar with an entity integrity rule. It sounds like some shit somone just made up to market ER diagrams. I thought Codd referred to the the entity integrity and referential integrity rules as the insert-update-delete rules of the relational model. Can you cite a reference for that? |
#10
| |||
| |||
|
|
"Bob Badour" <bbadour (AT) pei (DOT) sympatico.ca> wrote in message news:4a75247b$0$23740$9a566e8b (AT) news (DOT) aliant.net... Mr. Scott wrote: "Bob Badour" <bbadour (AT) pei (DOT) sympatico.ca> wrote in message news:4a7479f3$0$23783$9a566e8b (AT) news (DOT) aliant.net... Mr. Scott wrote: Since the entity integrity rule ensures that a relational table cannot have any duplicate rows, does that imply that each row in a table maps to a distinct entity? I am unfamiliar with an entity integrity rule. It sounds like some shit somone just made up to market ER diagrams. I thought Codd referred to the the entity integrity and referential integrity rules as the insert-update-delete rules of the relational model. Can you cite a reference for that? The "RM/T" paper, Extending the Database Relational Model to Capture More Meaning, ACM TODS, Vol. 4, No. 4, December 1979: "Rule 1 (entity integrity): No primary key value of a base relation is allowed to be null or to have a null component." It therefore originates from the point at which Codd decided to "extend" the model with E-relations, nulls and other exotic things. The rule begs more questions than it answers (what about derived relations and relations with multiple keys?). Myself and likeminded people are happy with the concept of a pre-RM/T relation that needs no such rules. |
![]() |
| Thread Tools | |
| Display Modes | |
| |