C
C#•10mo ago
🙈

is there a point of a one to one relationship.

Is there ever a use case to create a seperate table for a one to one relationship. Because what is the difference of storing it the same table.
6 Replies
Denis
Denis•10mo ago
Imo it helps reduce the bulk of a commonly accessed table by moving some of its columns to a separate table E.g., employee table is one to one matched to an Id card table Idk, first thing that came to my mind I'd assume there are some performance benefits to this, if used correctly
Pobiega
Pobiega•10mo ago
I'd say its pretty rare to have a link table for one-to-one. Much more common is that you just have a foreign key column
Omnissiah
Omnissiah•10mo ago
or an owned object
🙈
🙈OP•10mo ago
thanks
Denis
Denis•10mo ago
$close
MODiX
MODiX•10mo ago
Use the /close command to mark a forum thread as answered
Want results from more Discord servers?
Add your server