News for hackers. Stuff that matters.
Re:Ask HN: Is it acceptable to use a date as a primary key f... by jmye on Thursday December 28, 2023 @10:17PM (#38801438)
What if you had to send a second version on a given day? Let’s say 90% of your content didn’t populate. You might want to send a 12/28/2023b version - would you want to capture both?

Feels like there are better options for this use case, with little effort.

I guess, is there a reason not use an auto-incrementing int? Serious question, maybe there’s some reason that’s a bad practice that I’m not aware of.

There are no comments on this comment yet.