Wrap your live prod queries in a transaction

Almost every software engineer has been there: you have a query you have to run, live, against production data. Maybe it's a quick hack for a few rows, maybe it's in the thousands. Without going too far into the validity of mucking with production data, I'll preface the below tip with this, you should probably not be working with live data on production. There's almost always a better way to…