Skip to content

Erland Sommarskog on 'Error and Transaction Handling in SQL Server'

Photo of
Hosted By
Magnus A.
Erland Sommarskog on 'Error and Transaction Handling in SQL Server'

Details

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 straightforward 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.

About Erland Sommarskog
Erland Sommarskog is an independent consultant based in Stockholm. He has worked with SQL Server since 1991. He was first awarded SQL Server MVP in 2001, and he has been re-awarded every year since. His focus is on systems development with the SQL Server Database Engine and his passion is to help people to write better SQL Server applications.

http://www.sommarskog.se

Online event
This event has passed