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

Home -> Community -> Usenet -> c.d.o.misc -> Re: testing private function in PL/SQL

Re: testing private function in PL/SQL

From: Damien Salvador <damien.salvador_at_via.ecp.fr>
Date: 6 Dec 2001 19:02:01 GMT
Message-ID: <slrna0vg58.r4r.damien.salvador@zen.via.ecp.fr>


On Thu, 06 Dec 2001 17:12:59 GMT, bullseye <bullseye35_at_deletethefunnies@excite.com> a écrit:
>I want to test a private function in a package.

Hey,

That's exactely the purpose of a private function :-) You cannot call it from outside the package :-)

>How do you test for a private function? I am stumped.

You have to put it "temporarily" public (just add the declaration in the package header).

-- 
Damien
Received on Thu Dec 06 2001 - 13:02:01 CST

Original text of this message

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