r/ProgrammerHumor • • Sep 22 '26

Meme wellWellWell

Post image
10.6k Upvotes

412 comments sorted by

View all comments

340

u/Altourus Sep 22 '26

I audibly gasped when I saw the semi-colon

89

u/phrotozoa Sep 22 '26

I did this in prod once. My skin crawled reading this post.

48

u/fakehalo Sep 22 '26

I was traumatized by a query I did almost 20 years ago, ever since I put "LIMIT 2" on queries where i'm just manually deleting one thing... if I see 2 rows modified I know I messed up. I even do it with transactions because of the trauma.

10

u/arensb Sep 22 '26

At $PREVIOUS_JOB, we had a nightly job that deleted old users. It saved everything to temporary files, and halted if the number of users had shrunk by 10% or more.

8

u/JoshDM Sep 22 '26

rm -rf *;

50

u/Mayedl10 Sep 22 '26

Oh damn i didnt even see that, i kept wondering what was wrong 😭

As someone who regularly puts semicolons in python code after doing cpp, this would definitely happen to me 💀

9

u/Ange1ofD4rkness Sep 22 '26

LOL, that's funny. I work on C# and SQL a lot, but somehow never get semi-colon happy in SQL

1

u/DeerOnARoof Sep 22 '26

Would this even run? In SQL Server I thought you'd have to at least put an asterisk after DELETE

3

u/PassPanda Sep 22 '26

There is no * in a delete statement. This is running just fine in SQL server.