Daily Shaarli

All links of one day in a single page.

May 5, 2021

Error Handling in SQL Server with Try Catch

When an error occurs inside the TRY block, the control moves to the first statement inside the CATCH block. On the contrary, if the statements inside a TRY block have completed execution successfully without an error, the control will not flow inside the CATCH block. Rather, the first statement immediately after the END CATCH statement will then be executed. In this article we’ll take advantage of the Northwind database to run our queries. If you don’t have a copy of it in your computer, you can download one from here.

Transactions in SSIS

Supported: It does not start a new transaction, but it will join an existing transaction (if any).