PLSQL Stored Code


Oracle® PL/SQL® Interactive Workbook, Second Edition
By Benjamin Rosenzweig, Elena Silvestrova
Table of Contents
Chapter 12.  Procedures

PL/SQL Stored Code

All the PL/SQL that 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 to use 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 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. In order to save code into the database, the source code needs to be sent to the server so that it can be compiled into p-code and stored in the database. In the first lab, you will learn more about stored code and how to write one type of stored code known as procedures. In the second lab, you will learn about passing parameters into and out of procedures.


    Oracle PL. SQL Interactive Workbook
    Oracle PL/SQL Interactive Workbook (2nd Edition)
    ISBN: 0130473200
    EAN: 2147483647
    Year: 2002
    Pages: 146

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: