4 ms·
Composite keys are fine as long as all the key columns are surrogate keys.
by wvenable 2y ago
Composite keys are fine as long as all the key columns are surrogate keys.
- SoftTalker 2y agoHigh bridges without guardrails are fine as long as you don't fall off.
- wvenable 2y agoUsing composite keys can help prevent you from representing invalid states in the database or in your application. They can be guardrails.