Database Oracle

Compiling schema objects

The COMPILE_SCHEMA procedure in the DBMS_UTILITY package compiles all procedures, functions, packages, and triggers in the specified schema.
The example below shows how it is called from SQL*Plus for the SCOTT schema.

SQL> EXEC DBMS_UTILITY.compile_schema(schema => 'SCOTT');