Skip to main content

Timeline for What is the [relation] tag for?

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
May 3, 2021 at 7:05 comment added philipxy A FK constraint does not "implement" what a table does. You are trying to unify different but related things just because people use the same word to (typically confusedly) refer to them. A FK constraint asserts a fact/statement true of every DB state & business situation that subrow values for some columns must appear uniquely elsewhere & that participation in a certain association implies participation once in a certain other association. An ERM meta-relation recording the meta-association that certain tables & columns are FK-constrained holds tuples the ERM would call meta-relationships.
May 3, 2021 at 6:46 comment added philipxy The use of "relationship" to mean FK (foreign key) is not done either in the relational model or the ER model. It is (misconceivedly but ubiquitously) used to mean FK (foreign key) constraint by methods, tools & presentations that misunderstand the relational & ER models. Math & the relational model use "relation", "relationship" & "association" for a rule relating entities or values & "relation" also for sets or tables enumerating tuples satisfying one. So does the ER model except "relationship" means an association on given values or a tuple representing one. Tables hold bags only in SQL.
Feb 28, 2018 at 12:22 comment added Braiam Doing this is a problem waiting to happen. Relation/ship is a very common word in several context not related to programming, and it would be more work trying to enforce a certain meaning in the long run.
Feb 28, 2018 at 7:43 history edited Kevin CC BY-SA 3.0
added 150 characters in body
Feb 28, 2018 at 7:35 history edited Kevin CC BY-SA 3.0
added 34 characters in body
Feb 28, 2018 at 7:27 history answered Kevin CC BY-SA 3.0