Congratulations, you've just created the world's worst database design! Using age as a primary key is like using a sandwich as a doorstop - technically possible but fundamentally wrong. Primary keys should be unique and unchanging, but unless you've discovered the fountain of youth, your age changes every year. Plus, there are roughly 8 million 17-year-olds on Earth right now, all trying to register for your app. No wonder it's complaining! Next time, maybe try something truly unique... like I don't know... an ID?
Age As A Primary Key: What Could Possibly Go Wrong?
1 year ago
512,635 views
0 shares
database-memes, sql-memes, primary-key-memes, bad-design-memes, data-modeling-memes | ProgrammerHumor.io
More Like This
Russian roulette
5 years ago
229.1K views
0 shares
Since when?
2 years ago
715.4K views
0 shares
Please Make The Pain Stop
9 months ago
417.3K views
0 shares
World's Greatest Web Developer Mug, 11-Ounce White
Affiliate
Coffee Mugs
Generic
Who The Hell Are These Serialization Formats?
1 year ago
432.1K views
0 shares
How to survive a day in the office
5 years ago
159.3K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++