Making a Multi-Step SQL Server Script's Rollback Actually Trustworthy
When one step in a multi-step SQL Server script fails, what actually happens to your data depends entirely on how you’ve wired up error handling, and the default is not what most people assume. Three scenarios, measured with real ledger output.