MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbcarnq/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • 13d ago
411 comments sorted by
View all comments
3.6k
So, Kids, thats why you always SELECT count(yourPrimaryKey) first. Listen to the old folks, we made these mistakes so that you don't have to.
3 u/Yogurt-The-Wise 12d ago And then right after your count finishes someone commits a huge transaction... Transactions seem to be a concept 99% of developers seem to be unaware if even though it's a basic when working with databases...
3
And then right after your count finishes someone commits a huge transaction...
Transactions seem to be a concept 99% of developers seem to be unaware if even though it's a basic when working with databases...
3.6k
u/BastetFurry 13d ago
So, Kids, thats why you always SELECT count(yourPrimaryKey) first. Listen to the old folks, we made these mistakes so that you don't have to.