this post was submitted on 23 Mar 2025
466 points (98.3% liked)
[Moved to !iiiiiiitttttttttttt@programming.dev, check pinned post.] iiiiiiitttttttttttt.
922 readers
2 users here now
you know the computer thing is it plugged in?
Moved to !iiiiiiitttttttttttt@programming.dev.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just rollback the transaction. Wait, you were running under a transaction right...
Transactions are for people that make mistakes.
My first "real job" during college was a a large document management software vendor. Overheard a support call:
"Okay: delete from documents whe... what do you mean 'oops'?"
Dropping 250,000 rows from a production database and having to call the senior after hours, in tears, is a right-of-passage that everyone goes through. Right? ...right?
Tables? TABLES?
Nope, rows.
That was a typo. Which probably explains why I dropped 250,000 rows from the database to begin with.
Oh, little Bobby...
Could also have had some chairs as well.
No time for that just yolo it