Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f99608a

Browse files
authored
Merge pull request #5383 from sunilmathew/patch-2
Update try-catch-transact-sql.md
2 parents 5f877b2 + 8e75f93 commit f99608a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/t-sql/language-elements/try-catch-transact-sql.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ BEGIN CATCH
313313
ROLLBACK TRANSACTION;
314314
END;
315315

316-
-- Test whether the transaction is committable.
316+
-- 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.
317318
IF (XACT_STATE()) = 1
318319
BEGIN
319320
PRINT

0 commit comments

Comments
 (0)