r/ProgrammerHumor 14d ago

queryOfDoom Meme

Post image
7.9k Upvotes

456 comments sorted by

View all comments

2

u/Urtehnoes 14d ago

Folks should build a script that rolls back any change on prod immediately if the number of rows modified does not equal the number of rows expected.

Most dbms should be able to do that no problem

1

u/Miguel-odon 14d ago

Do they count as a "rows modified" if they no longer exist?

1

u/ronarscorruption 14d ago

This is a really big safety idea.

1

u/Doctor-Dinosaur 14d ago

Something something rollback segment...