摘要:
msdn 把这transaction 和错误处理讲得很不错。有什么不清楚可以看看那个。这里摘抄重要的几句话。"If an error prevents the successful completion of a transaction, SQL Server automatically rolls back the transaction and frees all resources held by the transaction.If a run-time statement error (such as a constraint violation) occurs in a 阅读全文