Quantcast
Channel: What's the difference between identifying and non-identifying relationships? - Stack Overflow
Browsing latest articles
Browse All 16 View Live

Answer by That Brazilian Guy for What's the difference between identifying...

A complement to Daniel Dinnyes' answer:On a non-identifying relationship, you can't have the same Primary Key column (let's say, "ID") twice with the same value.However, with an identifyinig...

View Article



Answer by Branko Dimitrijevic for What's the difference between identifying...

Do attributes migrated from parent to child help identify1 the child?If yes: the identification-dependence exists, the relationship is identifying and the child entity is "weak".If not: the...

View Article

Answer by Daniel Dinnyes for What's the difference between identifying and...

Bill's answer is correct,but it is shocking to see that among all the other answers no one points out the most significant aspect.It has been said over and over again, that in an identifying...

View Article

Answer by Accountant م for What's the difference between identifying and...

user287724's answer gives the following example of the book and author relationship:A book however is written by an author, and the author could have written multiple books. But the book needs to be...

View Article

Answer by Daniel Pinheiro for What's the difference between identifying and...

Like well explained in the link below, an identifying relation is somewhat like a weak entity type relation to its parent in the ER conceptual model. UML style CADs for data modeling do not use ER...

View Article


Answer by Daishi for What's the difference between identifying and...

If you consider that the child item should be deleted when the parent is deleted, then it is an identifying relationship.If the child item should be kept even though the parent is deleted, then it is a...

View Article

Answer by Sarvar Nishonboyev for What's the difference between identifying...

Let's say we have those tables:user--------idnamecomments------------comment_iduser_idtextrelationship between those two tables will identifiying relationship. Because, comments only can be belong to...

View Article

Answer by Skarllot for What's the difference between identifying and...

Non-identifying relationshipA non-identifying relationship means that a child is related to parent but it can be identified on its own.PERSON ACCOUNT====== =======pk(id) pk(id)name fk(person_id)...

View Article


Answer by sp1rs for What's the difference between identifying and...

An identifying relationship is between two strong entities. A non-identifying relationship may not always be a relationship between a strong entity and a weak entity. There may exist a situation where...

View Article


Answer by chanchal dixit for What's the difference between identifying and...

The identifying relationship means the child entity is totally dependant on the existence of the parent entity.Example An account table person table and personAccount.The person account table is...

View Article

Answer by user287724 for What's the difference between identifying and...

There is another explanation from the real world:A book belongs to an owner, and an owner can own multiple books. But, the book can exist also without the owner, and ownership of it can change from one...

View Article

Answer by Walter Mitty for What's the difference between identifying and...

A good example comes from order processing. An order from a customer typically has an Order Number that identifies the order, some data that occurs once per order such as the order date and the...

View Article

Answer by Bill Karwin for What's the difference between identifying and...

An identifying relationship is when the existence of a row in a child table depends on a row in a parent table. This may be confusing because it's common practice these days to create a pseudokey for a...

View Article


Answer by Andy White for What's the difference between identifying and...

Here's a good description:Relationships between two entities may be classified as being either "identifying" or "non-identifying". Identifying relationships exist when the primary key of the parent...

View Article

Answer by Christian C. Salvadó for What's the difference between identifying...

An Identifying relationship specifies that a child object cannotexist without the parent objectNon-identifying relationships specifies a regular associationbetween objects, 1:1 or 1:n...

View Article


What's the difference between identifying and non-identifying relationships?

I haven't been able to fully grasp the differences. Can you describe both concepts and use real world examples?

View Article
Browsing latest articles
Browse All 16 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>