Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to check if a Function exists in a package
Stefan Wetter wrote:
> Hello!
>
> I would like to have somthing like that:
>
> Package p_customer
> function a
> function c
> end
>
> Package p_order
> function a
> if existfunction(p_customer.a) then
> return p_customer.a();
> else
> standardcode;
> end if;
> end p_order;
>
> Is that possible to have a function existfunction() to do it like
> described above?
>
> Thank you!
> Stefan
SELECT DISTINCT object_name
FROM all_arguments
WHERE package_name = 'UTL_FILE'
AND position = 0;
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Fri Jan 26 2007 - 11:20:57 CST
![]() |
![]() |