Subprograms and Packages: Usage Information

Oracle offers the capability to store programs in the database. This functionality enables commonly required code to be written and tested once and then accessed by any application that requires the code. Database-resident program units also ensure that the same processing is applied to the data when the code is invoked, making the development of applications easier and providing consistency between developers.

You can write database-resident programs in PL/SQL and manage source types such as PL/SQL packages, procedures, functions, and triggers. The actions include creating, compiling, creating synonyms for, granting privileges on, and showing dependencies for these source types.

The topic discusses the development of subprograms and packages with PL/SQL. It includes the following topics:


See Also:

  • Oracle Database PL/SQL Language Reference for additional information, especially the chapters about subprograms and packages



Note:

Many examples use the Oracle HR sample schema. For information on the sample schemas, see Oracle Database Sample Schemas.