Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A natural key as a primary key is terrible practice because I've never even once seen a natural key that wasn't tied to business logic. Logic that potentially can change.

Don't do it, you only make it worse for yourself if you pick a natural key for a PK!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: