Still Confused About Identifying vs. Non-Identifying Relationships

前端 未结 8 1978
遇见更好的自我
遇见更好的自我 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条回答
  •  -上瘾入骨i
    2020-11-29 16:26

    Yes, go with first one, but i don't think second one contradicts the first one. It's just formulated a little bit confusing..

    UPDATE:

    Just checked - second question's answer is wrong in some assumptions,.. book-author is not necessarily 1:n relation, as it could be m:n. In relational databases that creates intersection table for this m:n relation, and you get identifying relations between intersection table and those other 2 tables..

提交回复
热议问题