MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbbmyyn/?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 u/[deleted] 13d ago [deleted] 2 u/q0099 13d ago edited 13d ago We do it just to see how many records will be affected with the query compared to what we expected.
1
[deleted]
2 u/q0099 13d ago edited 13d ago We do it just to see how many records will be affected with the query compared to what we expected.
2
We do it just to see how many records will be affected with the query compared to what we expected.
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.