Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Procedures and Packages
Paul Smith wrote:
> I'm in need of an answer to the following question:
>
> Given an Oracle7 procedure or function name, is it possible to
> determine the following:-
> a) The name of the enclosing package (if any)
> b) If it is a freestanding procedure or function
> c) If it exists on the database at all
>
> Thanks in advance,
> Paul.
Paul,
I'm not sure about part "a" but this will help with "b" and "c".
select object_type, owner
from dba_objects
where object_name = 'name';