this post was submitted on 24 Jul 2026
431 points (99.5% liked)
Programmer Humor
32452 readers
1709 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
We've all done that at some point.
That sinking feeling when your quick update doesn't return immediately.
Good to get into the habit of wrapping your queries in a begin transaction/rollback until you verify the result ๐
I was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I'm sure I need to make a change.