JPCogAdmin
Programmer
Hi,
Was wondering if any of you know if there is a limit to the number of procedures in a package?
The reason I'm asking is because I have written two procedures in one package and the second procedure gives me an error saying:
Error(25,1): PLS-00382: expression is of wrong type
I' look at both procs and they're good. When I click on "go to source" it points me to the second procedure which goes like this:
create or replace
PACKAGE BODY TEST2 AS
procedure myfirst(goes_here_with_no_problems) as
begin
.......
end;
procedure promp(one in table1.ID%type,ret2 in out myrefcur) as
BEGIN
open ret2 for
select table1.ID,table1.field2,table1.field3 from user_schema.table1
where table1.ID=one;
--null;
END promp;
END TEST2;
Was wondering if any of you know if there is a limit to the number of procedures in a package?
The reason I'm asking is because I have written two procedures in one package and the second procedure gives me an error saying:
Error(25,1): PLS-00382: expression is of wrong type
I' look at both procs and they're good. When I click on "go to source" it points me to the second procedure which goes like this:
create or replace
PACKAGE BODY TEST2 AS
procedure myfirst(goes_here_with_no_problems) as
begin
.......
end;
procedure promp(one in table1.ID%type,ret2 in out myrefcur) as
BEGIN
open ret2 for
select table1.ID,table1.field2,table1.field3 from user_schema.table1
where table1.ID=one;
--null;
END promp;
END TEST2;