Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> How to check if a Function exists in a package

How to check if a Function exists in a package

From: Stefan Wetter <swetter_at_arcor.de>
Date: Fri, 26 Jan 2007 09:43:40 +0100
Message-ID: <45b9bedc$0$5724$9b4e6d93@newsspool3.arcor-online.net>


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 Received on Fri Jan 26 2007 - 02:43:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US