I am trying to call a stored procedure from BI Publisher, and need some help to achieve this.
Here is what I have: In my Data Model I have the following code:
DECLARE
type refcursor is REF CURSOR;
xdo_cursor refcursor;
BEGIN
OPEN :xdo_cursor FOR
SELECT IPVOWN.F1(5) FROM DUAL;
COMMIT;
END;
Type of SQL = Non-standard SQL Running this code works in SQL Developer when you remove the ":" from xdo_cursor, but in BI ":" is required. I get the following error in the log file:
<txt>java.sql.SQLException: ORA-06550: line 2, column 22:
PLS-00103: Encountered the symbol "." when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
thanks in advance.