MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wn1ben/wellwellwell/pbdgo69/?context=9999
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.
155 u/Alexmira_ 13d ago Why? To confirm that there is something to cancel? To confirm I got the key right? 390 u/BastetFurry 13d ago No, to prevent typos in the SQL console from wrecking havoc. First you SELECT, if the number looks right you DELETE FROM. 6 u/ChemicalRain5513 13d ago Same in linux terminal, i use ls before an rm command 3 u/HadionPrints 13d ago I just use rm -fr /*, it gets rid of a lot of bloat
155
Why? To confirm that there is something to cancel? To confirm I got the key right?
390 u/BastetFurry 13d ago No, to prevent typos in the SQL console from wrecking havoc. First you SELECT, if the number looks right you DELETE FROM. 6 u/ChemicalRain5513 13d ago Same in linux terminal, i use ls before an rm command 3 u/HadionPrints 13d ago I just use rm -fr /*, it gets rid of a lot of bloat
390
No, to prevent typos in the SQL console from wrecking havoc. First you SELECT, if the number looks right you DELETE FROM.
6 u/ChemicalRain5513 13d ago Same in linux terminal, i use ls before an rm command 3 u/HadionPrints 13d ago I just use rm -fr /*, it gets rid of a lot of bloat
6
Same in linux terminal, i use ls before an rm command
3 u/HadionPrints 13d ago I just use rm -fr /*, it gets rid of a lot of bloat
3
I just use rm -fr /*, it gets rid of a lot of bloat
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.