create or replace package tq84_ora_04067_pkg
authid definer
as
function f return number;
end tq84_ora_04067_pkg;
/
Create a view that uses the function in the package. The view compiles because the function tq84_ora_04067_view.fis declared even though the package body does not exist:
create or replace view tq84_ora_04067_view as
select
tq84_ora_04067_pkg.f
from
dual;
However, when the view is used, it will report the missing package body: