Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PLS-00306 error with simple function call within a package
Texar wrote:
> On Sun, 26 Jun 2005 12:39:09 +0200, Frank van Bortel
> <frank.van.bortel_at_gmail.com> wrote:
>
>
>>Texar wrote: >> >>>Hello, >>> >>>i am trying to call a function inside a package. (basic operation) >>> >>>I do not have the package source and it is wrapped, so i can't see the >>>source. >>> >>>the doc only say: >>> >>>function: opensession: >>> >>>in: login: varchar2 >>>pass: varchar2 >>>out: result number >>> >> >>maybe the doc is wrong, >>try: >> >>desc owner.package, >>and see what the actual >>params for the function are
and a easy way to test a function is straight from a SELECT:
SELECT owner.package.opensession('login','pass') from DUAL;
-- Ed Prochak running http://www.faqs.org/faqs/running-faq/ netiquette http://www.psg.com/emily.html -- "Two roads diverged in a wood and I I took the one less travelled by and that has made all the difference." robert frostReceived on Tue Jun 28 2005 - 22:29:11 CDT
![]() |
![]() |