angelana22
Programmer
Using CR Version 9, Oracle, stored procedure as datasource, MS OLE DB Provider for Oracle as connectivity.
My stored procedure is using:
TYPE cursor_type IS REF CURSOR RETURN temp_table%ROWTYPE;
With 2 parameters company_id as number and user_id as varchar2. Both parameters were declared as IN.
Calling the procedure in report using only company_id as parameter works but when I added user_id I got an error.
I am using the parameters as part of the select statement in WHERE clause.
Is there anyone here that knows why I am encountering the "PLS-00306: wrong number or types of arguments in call to procedure" error?
Thanks!
My stored procedure is using:
TYPE cursor_type IS REF CURSOR RETURN temp_table%ROWTYPE;
With 2 parameters company_id as number and user_id as varchar2. Both parameters were declared as IN.
Calling the procedure in report using only company_id as parameter works but when I added user_id I got an error.
I am using the parameters as part of the select statement in WHERE clause.
Is there anyone here that knows why I am encountering the "PLS-00306: wrong number or types of arguments in call to procedure" error?
Thanks!