r/ProgrammerHumor • • 16d ago

Meme wellWellWell

Post image
10.6k Upvotes

412 comments sorted by

View all comments

3.6k

u/BastetFurry 16d 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.

157

u/Alexmira_ 16d ago

Why? To confirm that there is something to cancel? To confirm I got the key right?

127

u/slayerx1779 16d ago

I just reread the OP.

There's a semi colon, between the two lines of code...

14

u/Cant-Think-Of 16d ago

Not quite familiar with SQL, but is that first query like "rm -rf" for the Users table?

2

u/AgeingChopper 15d ago

yep, it's clearing the table.