Professional Documents
Culture Documents
Lesson 7 - Exception Handling - Theory
Lesson 7 - Exception Handling - Theory
Lesson 7 – Theory
Exception Handling
Learning Objectives
• We can put all T-SQL statements into a TRY BLOCK and the code for
exception handling can be put into a CATCH block.
Error handling overview
• Error handling in SQL Server gives us control over the Transact-SQL
code.