Your browser does not support JavaScript. This help page requires JavaScript to render correctly.
Skip Headers
Previous
Previous
 
Next
Next

About Program Code Stored in the Database

Oracle Database offers the ability to store program code in the database. Developers write program code in PL/SQL or Java, and store the code in schema objects. You, as the DBA, can use Oracle Enterprise Manager Database Control (Database Control) to manage program code objects such as:

The actions that you can perform include creating, compiling, creating synonyms for, granting privileges on, and showing dependencies for these code objects. You access administration pages for these objects by clicking links in the Programs section of the Schema subpage.

Note that creating and managing program code objects is primarily the responsibility of application developers. However, as a DBA you might have to assist in managing these objects. Your most frequent task for program code objects might be to revalidate (compile) them, because they can become invalidated if the schema objects on which they depend change or are deleted.

Note: Other types of schema objects besides program code objects can become invalid. For example, if you delete a table, then any views that reference that table become invalid.

Related Topics

Oracle Database Concepts for an overview of using PL/SQL and Java for server-side programming

Oracle Database 2 Day + Java Developer's Guide for more information about Java sources and Java classes

Oracle Database PL/SQL Language Reference to learn about PL/SQL code

Oracle Database Administrator's Guide for more information about object invalidation

Validating (Compiling) Invalid Schema Objects

Managing Program Code Stored in the Database