Using C# and SQL Server, would there be any reason to put a single INSERT statement into a transaction?
I am reviewing code written by someone else. I can't understand why a transaction would be needed since there is only one SQL statement.
It will already be in an implicit transaction. No need to wrap it in another redundant transaction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With