When Things go Wrong – Error Handling in SQL Server by Erland Sommarskog

Most modern programming environments offers exception handling in some form, and SQL Server provides the popular TRY-CATCH concept. However, error handling in SQL Server is not as straight¬forward as one may wish, but it is marred with inconsistencies and surprises. This session starts off by displaying the some of the surprises you can encounter, both when you use TRY-CATCH and when you don’t. The session presents a recipe for writing CATCH block where focus is on keeping things simple and you will learn why it is not a good idea to make your error handling “fancy”, although it may seem to be a good idea in theory. The session also covers a few things to think of on client level.

Leave a Reply

Your email address will not be published. Required fields are marked *