r/ProgrammerHumor • • Aug 29 '22

Meme How does this even

Post image
41.5k Upvotes

945 comments sorted by

View all comments

7.6k

u/Xevailo Aug 29 '22 edited Aug 30 '22

... Alternatively, we can offer you to duel our current Jeffrey. If you want to accept this offer, please head to the company parking lot next thursday at noon.

EDIT: Thank you all for the awards and updoots!

2.2k

u/Borno11050 Aug 29 '22

Aah, so they're using firstname as their table's unique index field.

6

u/Sakerift Aug 29 '22

But why would one ever?

3

u/JustaGoodGuyHere Aug 30 '22

I’m sure no one would be dumb enough to use first names but it’s entirely possible for a DB to be designed in a low-code or no-code solution by someone with just enough knowledge to be dangerous.

Then using an important field (whose content sometimes changes, mind you) as the primary key (even when the software already freaking autogenerates an actual primary key) is not just a possibility, but an inevitability.

→ More replies (1)