CHAPTER 5Functions
Functions are specialized program units or named blocks in PL/SQL. They can exist as solitary objects in your database schema. Standalone functions like these are also known as schema-level functions.
You can also deploy functions inside packages. (Chapter 2 discusses this concept, and Chapter 8 describes how packages work with functions and procedures.) When you define a function in a package specification, it becomes a published function and available for calls from other schema-level program units. If you opt to define functions in the package body, they become package-only functions. This makes them available to other functions and procedures in the package, but makes them inaccessible to external program units. Package ...
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