Still Confused About Identifying vs. Non-Identifying Relationships

前端 未结 8 1982
遇见更好的自我
遇见更好的自我 2020-11-29 15:58

So, I\'ve been reading up on identifying vs. non-identifying relationships in my database design, and a number of the answers on SO seem contradicting to me. Here are the t

8条回答
  •  再見小時候
    2020-11-29 16:42

    I believe only difference between an identifying and non identifying relationship is about Nullability of the foreign key. If a FK cannot be NULL, the relationship it represents is identifying (child cannot exist without parent) else it is non identifying.

提交回复
热议问题