Chapter 17. Stored procedures
After completing this chapter, you will be able to
Understand stored procedures.
Work with stored procedures.
Create, alter, and delete stored procedures.
Use different types of parameters with stored procedures.
Stored procedures are a set of SQL statements (one or more) typically grouped together to perform a specific routine. Stored procedures can be created in any user-defined database and system database except the resource database. They are comparable to multistatement functions, but they boast features and flexibilities that are not possible within functions. Some of the benefits of using stored procedures are as follows:
They offer improved performance because of compiled code.
They are easy to maintain because ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access