C H A P T E R  4

Image

Functions, Packages, and Procedures

PL/SQL applications are composed of functions, procedures, and packages. Functions are PL/SQL programs that accept zero or more parameters and always return a result. Procedures are similar to functions, but they are not required to return a result. Packages are a combination of related functions, procedures, types, and variables. Each of these PL/SQL components helps formulate the basis for small and large applications alike. They differ from anonymous blocks that have been covered in previous recipes because they are all named routines that are stored within the database. Together, they provide ...

Get Oracle and PL/SQL Recipes: A Problem-Solution Approach 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.