r/ProgrammerHumor • • Oct 14 '25

Advanced neverForget

/img/fmfo1e41g0vf1.png
14k Upvotes

615 comments sorted by

View all comments

3

u/-Nyarlabrotep- Oct 14 '25

First you write the select, then once you verify the result you turn it into a delete/commit. If there are a lot of rows you use rowcount and multiple commits to limit the number of rows affected for each transaction.