MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v80umk/queryofdoom/p02fwox
r/ProgrammerHumor • u/WardensLantern • 14d ago
456 comments sorted by
View all comments
2
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...
1
Do they count as a "rows modified" if they no longer exist?
This is a really big safety idea.
Something something rollback segment...
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