Summary

Stored procedures are among the premier features of Microsoft SQL Server. They provide a number of benefits over using ad hoc SQL, including faster performance; restricted, function-based access to tables; protection of application code from database changes; and the ability to simplify complex tasks into a simple stored procedure call.

In the next chapter, you learn how to expand the capabilities of your T-SQL code by creating and using user-defined functions developed in T-SQL.

Get Microsoft SQL Server 2014 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.