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 -> testing private function in PL/SQL

testing private function in PL/SQL

From: bullseye <bullseye35_at_deletethefunnies@excite.com>
Date: Thu, 06 Dec 2001 17:12:59 GMT
Message-ID: <vGNP7.180668$XA5.28801287@typhoon.nyc.rr.com>


I want to test a private function in a package.

DECLARE
(variable) (datatype);
(variable) (datatype)

BEGIN
  (variable) := (private function) (identifier or other variable); END; This syntax is not working. I also have a public function in the package that uses the same private function. This public function tests fine; it gives me the desired result. (The syntax that works is below)

DECLARE
(variable) (datatype);
(variable) (datatype)

BEGIN
  (variable) := (package_name).(public function) (identifier or other variable);
END; How do you test for a private function? I am stumped. Received on Thu Dec 06 2001 - 11:12:59 CST

Original text of this message

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