Defensive Error Handling

Posted on Simple Talk See other posts from Simple Talk
Published on 28 October 2010 Indexed on 2010/12/06 16:58 UTC
Read the original article Hit count: 286

Filed under:
TRY…CATCH error handling in SQL Server has certain limitations and inconsistencies that will trap the unwary developer, used to the more feature-rich error handling of client-side languages such as C# and Java. In this article, abstracted from his excellent new book, Defensive Database Programming with SQL Server, Alex Kuznetsov offers a simple, robust approach to checking and handling errors in SQL Server, with client-side error handling used to enforce what is done on the server.

© Simple Talk or respective owner

Related posts about T-SQL Programming