We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f877b2 + 8e75f93 commit f99608aCopy full SHA for f99608a
1 file changed
docs/t-sql/language-elements/try-catch-transact-sql.md
@@ -313,7 +313,8 @@ BEGIN CATCH
313
ROLLBACK TRANSACTION;
314
END;
315
316
- -- Test whether the transaction is committable.
+ -- Test whether the transaction is committable.
317
+ -- You may want to commit a transaction in a catch block if you want to commit changes to statements that ran prior to the error.
318
IF (XACT_STATE()) = 1
319
BEGIN
320
PRINT
0 commit comments