C
C#•5mo 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•5mo 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•5mo 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
WEIRD FLEX
WEIRD FLEX•5mo ago
or an owned object
🙈
🙈•5mo ago
thanks
Denis
Denis•5mo ago
$close
MODiX
MODiX•5mo ago
Use the /close command to mark a forum thread as answered
Want results from more Discord servers?
Add your server
More Posts