In this chapter, you will learn about
• Creating procedures
• Passing parameters into and out of procedures
All the PL/SQL you have written up to this point has been anonymous blocks that were run as scripts and compiled by the database server at runtime. Now you will begin using modular code. Modular code is a way to build a program from distinct parts (modules), each of which performs a specific function or task toward the program’s final objective. As soon as modular code is stored on the database server, it becomes a database object, or subprogram, that is available to other program units for repeated execution. To save code to the database, the source code needs to be sent to the server so that it ...