CHAPTER
8
Functions and Procedures
As you’ve seen in previous chapters, there are two types of subroutines: functions and procedures. You use these to build database-tier libraries to encapsulate application functionality, which is then collocated on the database tier for efficiency.
This chapter covers the following subroutine topics:
Function and procedure architecture
Transaction scope
Functions
Creation options
Pass-by-value functions ...