Crow's Foot notation and identifying -vs- non-identifying relationships












1














Is it possible to distinguish between identifying and non-identifying relationships using the Crow's Foot notation?



Case in point: In table Book, part of the book's Primary Key is a FK to the Author table. In other words I embed the author's identifier in the book's identifier. Also, a book has a FK to a Book_Type (containing values like "hardcover", "papercover") (this is just an example, I understand that I would probably need a "book edition" table for that).



The thing is that this latter FK relationship isn't nearly really as important as the former one (the FK to Book_Type is not part of Book's Primary Key), yet my understanding is that in the Crow's Foot diagram shown below, both these relationships are rendered identically:



enter image description here



Have I misunderstood something or is there a way to signify the identifying versus non-identifying relationship distinction using the Crow's Foot notation?










share|improve this question
















bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
    – DocSalvager
    May 28 '14 at 8:22
















1














Is it possible to distinguish between identifying and non-identifying relationships using the Crow's Foot notation?



Case in point: In table Book, part of the book's Primary Key is a FK to the Author table. In other words I embed the author's identifier in the book's identifier. Also, a book has a FK to a Book_Type (containing values like "hardcover", "papercover") (this is just an example, I understand that I would probably need a "book edition" table for that).



The thing is that this latter FK relationship isn't nearly really as important as the former one (the FK to Book_Type is not part of Book's Primary Key), yet my understanding is that in the Crow's Foot diagram shown below, both these relationships are rendered identically:



enter image description here



Have I misunderstood something or is there a way to signify the identifying versus non-identifying relationship distinction using the Crow's Foot notation?










share|improve this question
















bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
    – DocSalvager
    May 28 '14 at 8:22














1












1








1







Is it possible to distinguish between identifying and non-identifying relationships using the Crow's Foot notation?



Case in point: In table Book, part of the book's Primary Key is a FK to the Author table. In other words I embed the author's identifier in the book's identifier. Also, a book has a FK to a Book_Type (containing values like "hardcover", "papercover") (this is just an example, I understand that I would probably need a "book edition" table for that).



The thing is that this latter FK relationship isn't nearly really as important as the former one (the FK to Book_Type is not part of Book's Primary Key), yet my understanding is that in the Crow's Foot diagram shown below, both these relationships are rendered identically:



enter image description here



Have I misunderstood something or is there a way to signify the identifying versus non-identifying relationship distinction using the Crow's Foot notation?










share|improve this question















Is it possible to distinguish between identifying and non-identifying relationships using the Crow's Foot notation?



Case in point: In table Book, part of the book's Primary Key is a FK to the Author table. In other words I embed the author's identifier in the book's identifier. Also, a book has a FK to a Book_Type (containing values like "hardcover", "papercover") (this is just an example, I understand that I would probably need a "book edition" table for that).



The thing is that this latter FK relationship isn't nearly really as important as the former one (the FK to Book_Type is not part of Book's Primary Key), yet my understanding is that in the Crow's Foot diagram shown below, both these relationships are rendered identically:



enter image description here



Have I misunderstood something or is there a way to signify the identifying versus non-identifying relationship distinction using the Crow's Foot notation?







foreign-key primary-key database-diagrams






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 15 '17 at 15:20







Marcus Junius Brutus

















asked May 25 '14 at 16:08









Marcus Junius BrutusMarcus Junius Brutus

1,01441430




1,01441430





bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 28 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
    – DocSalvager
    May 28 '14 at 8:22


















  • An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
    – DocSalvager
    May 28 '14 at 8:22
















An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
– DocSalvager
May 28 '14 at 8:22




An Entity-Relationship Diagram (ERD), of which "crows-feet" is just one type of notation, describes only the relationship between entities. The Primary Key (PK) of an entity can normally be inferred from that but there are things you can do in creating a PK that are not clearly reflected in an ERD. By making the Book PK consist of the Author PK plus something else that is not a foreign-key (FK) (you didn't what) you are describing one of those. It would be much more flexible to just use auto-generated sequence numbers for the FKs of all tables.
– DocSalvager
May 28 '14 at 8:22










2 Answers
2






active

oldest

votes


















0














Different ERD notations offer different relationship decorations for identifying relationships. The most common that I've seen is the use of solid lines for identifying and dashed lines for non-identifying.






share|improve this answer





























    -1














    In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.






    share|improve this answer





















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "182"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f65862%2fcrows-foot-notation-and-identifying-vs-non-identifying-relationships%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Different ERD notations offer different relationship decorations for identifying relationships. The most common that I've seen is the use of solid lines for identifying and dashed lines for non-identifying.






      share|improve this answer


























        0














        Different ERD notations offer different relationship decorations for identifying relationships. The most common that I've seen is the use of solid lines for identifying and dashed lines for non-identifying.






        share|improve this answer
























          0












          0








          0






          Different ERD notations offer different relationship decorations for identifying relationships. The most common that I've seen is the use of solid lines for identifying and dashed lines for non-identifying.






          share|improve this answer












          Different ERD notations offer different relationship decorations for identifying relationships. The most common that I've seen is the use of solid lines for identifying and dashed lines for non-identifying.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 25 '18 at 8:32









          Russell SearleRussell Searle

          1




          1

























              -1














              In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.






              share|improve this answer


























                -1














                In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.






                share|improve this answer
























                  -1












                  -1








                  -1






                  In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.






                  share|improve this answer












                  In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 14 '17 at 14:30









                  Jeffreyb723Jeffreyb723

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Database Administrators Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f65862%2fcrows-foot-notation-and-identifying-vs-non-identifying-relationships%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Liste der Baudenkmale in Friedland (Mecklenburg)

                      Single-Malt-Whisky

                      Czorneboh