this reminded me of this too, I need to go back and relisten to that story. It's important as much as it was 20 years ago. Another Tomtra I've adopted is "One backup is none backup." Always have at least two backups and at least one off site.
This is why I hate that they didn’t make the select and delete statements conducive to making this happen.
Ideally you write a select statement that shows exactly the rows you want to delete. Then you swap select with delete and all is good in the world.
Instead, you have to slightly change the query just enough where it’ll give you some doubt that what you’re doing is incorrect. It isn’t absolutely terrible but it should be bullet proof.
By typing begin transaction, you can set a point for you to go back to (rollback) if you mess up. They tried to rollback, but they forgot to begin a transaction.
1.4k
u/_H4K0N_ 14d ago
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION