Database Design – Identifying Relationships Without FK in PK

database-designerd

I'm trying to wrap my head around the identifying/non-identifying relationships in Crow's Foot notation. I have read in most places that an identifying relationship means that the FK is a part of the entity's PK. However, wouldn't that be the same as simply having the FK be non-null and not include it in the primary key?

For example:
enter image description here

To me this is an identifying relationship, since a Student cannot exist without a University. Though, I do not have plans on including the FK from Student to University in the Student's PK.

Best Answer

According to this post, as pointed out by mustaccio, while the formal way of showing an identifying relationship is by including the FK in the PK in the child table, this is not always done since it might not be practical to have big PKs that include the foreign key(s).

The logical meaning is simply that the child cannot exist without the parent, and as long as it is true, the relationship is identifying.

Therefore, in the example I stated, if we assume that all the students in our database have to be enrolled in a university, the relationship between a Student and a University is classified as identifying, since a Student cannot exist without a University.