Chapter 8: TSQL Programming: Stored Procedures, Variables, Functions and Triggers
This chapter is all about stored procedure programming, Error Handling, and passing resultsets to the client by various means as well as writing triggers (AFTER/INSTEAD OF), functions (scalar and table-valued UDFs), and TSQL variables.