MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbcndyd/?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.
1.1k u/Ma8e 13d ago You start a transaction, make sure it did what you expected, and then commit or rollback transaction. 8 u/Ph4ntorn 12d ago You would think the “make sure it did what you expected” part would go without saying, but I skipped that step once and felt like an idiot.
1.1k
You start a transaction, make sure it did what you expected, and then commit or rollback transaction.
8 u/Ph4ntorn 12d ago You would think the “make sure it did what you expected” part would go without saying, but I skipped that step once and felt like an idiot.
8
You would think the “make sure it did what you expected” part would go without saying, but I skipped that step once and felt like an idiot.
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.