Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 17 Oracle Analytics Lounge
- 233 Oracle Analytics News
- 45 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 87 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
BIP: Procedure Call DM Error - PLS-00306: wrong number or types of arguments in call to CAST_TO_RAW
Pradeep Moganti
Rank 2 - Community Beginner
As elaborated in the article we are in the process of developing a BIP report identified as a Procedure Call. An input parameter of type String has been included in the report. However, we are experiencing the following error when attempting to run the report.
java.sql.SQLException: ORA-06550: line 10, column 41: PLS-00306: wrong number or types of arguments in call to 'CAST_TO_RAW' ORA-06550: line 10, column 5: PL/SQL: Statement ignored ORA-06550: line 16, column 8: PLS-00456: item '2' is not a cursor ORA-06550: line 16, column 3: PL/SQL: Statement ignored
Following is the code that we have in the report
Parameters:
Name: P_QRYData Type: StringParameter Type: Text
Data Model:
DECLARE l_query VARCHAR2(32767); TYPE ref_cursor IS REF CURSOR; l_result_set ref_cursor; BEGIN l_query := UTL_ENCODE.BASE64_DECODE(UTL_RAW.CAST_TO_RAW(:P_QRY)); OPEN :l_result_set FOR UTL_RAW.CAST_TO_VARCHAR2(l_query); END;
Error:
We would be grateful if anyone could provide guidance on how to resolve this matter.
0
Answers
-
Hi,
What is your exact requirement? Or you just trying to test out the code mentioned in article?
Thanks.
0



