Re:Unnatural Keys – Nature doesn’t come with identifiers
by jack_squat on Sunday May 28, 2023 @11:57AM
(#36105189)
When you use a surrogate key, you should still put a unique constraint on an alternate key. Multiple records for the same thing is a fundamental problem in a database.
Even if it is indeed bad, it's probably unrealistic to expect to never let it slip on entry (however good the natural keys might be). Maybe it makes more sense to incorporate deduplication into the design right from the start.