Crow's Foot notation and identifying -vs- non-identifying relationships
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:
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
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.
add a comment |
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:
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
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
add a comment |
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:
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
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:
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
foreign-key primary-key database-diagrams
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Nov 25 '18 at 8:32
Russell SearleRussell Searle
1
1
add a comment |
add a comment |
In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.
add a comment |
In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.
add a comment |
In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.
In your diagram, you are showing both entities as solid lines indicating identifying relationships. Non-identifying relationships are shown with dashed lines.
answered Mar 14 '17 at 14:30
Jeffreyb723Jeffreyb723
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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