oracle compile whole schema code example
Example: oracle compile whole schema
-- Compiles all objects of a schema
BEGIN
-- compile_all: true compiles all, false compiles invalid objects only
DBMS_UTILITY.compile_schema(schema => 'My_SCHEMA', compile_all => true);
END;