Execution of PL/SQL Package Subprograms
Database triggers, stored subprograms, 3GL application programs, and Oracle tools can reference package contents.
The following graphic shows database applications invoking procedures and functions in the employees_management package.
Figure 8-2 Calling Subprograms in a PL/SQL Package

Description of "Figure 8-2 Calling Subprograms in a PL/SQL Package"
Database applications explicitly call packaged procedures as necessary. After being granted the privileges for the employees_management package, a user can explicitly run any of the procedures contained in it. For example, SQL*Plus can issue the following statement to run the hire_employees package procedure:
EXECUTE employees_management.hire_employees ('TSMITH', 'C
Comments
Post a Comment