TRY CATCH
Translation reference for TRY CATCH statement in SQL Server.
Description
Implements error handling for Transact SQL. A group of Transact-SQL statements can be enclosed in a TRY block. If an error occurs in the TRY block, control is usually passed to another group of statements that is enclosed in a CATCH block.
Sample Source Patterns
The following example details the transformation for TRY CATCH inside procedures.
SQL Server
Snowflake SQL
Try catch outside routines (functions and procedures)
SQL Server
Snowflake Scripting
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated