Unit 9.2. Stored Procedures

Modular Code

Modular code is a methodology to build a program from distinct parts (modules), each of which performs a specific function or task toward the final objective of the program. Once a program, or code module, is stored on the database server, it becomes a database object, or subprogram, that is available to other program units for repeated execution. In order to save code into the database, the source code needs to be sent to the server so that it can be compiled and stored in the database.

Benefits of Modular Code

A PL/SQL module is any complete logical unit of work. There are four types of PL/SQL modules: 1) anonymous blocks that are run with a text script (this is the type this chapter has illustrated ...

Get Oracle® Web Application Programming for PL/SQL® Developers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.