Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to call stored procedure in direct database request obiee 11g analytics?

ARIVEMULA KAVYA KUMARI LERA TECHNOLOGY PVT LTDJan 27 2016 — edited Jan 28 2016

Hi,

I have created stored procedure in db....

I want to execute stored procedure in direct database request in analytics..

When i trying , i am getting errors..

my stored procedure is

CREATE OR REPLACE PROCEDURE TESTINGPROCEDURE(OutCur OUT sys_refcursor)

AS

BEGIN

OPEN OutCur FOR

select * from w_company_d

END;

execution:

var rc refcursor

exec testingprocedure(:rc)

print rc

Please help me..

in direct database request of obiee 11g analyics, how to call this procedure..

I have tried.. i have enter connection pool name..

err1.jpg

Odbc driver returned an error (SQLExecDirectW).

State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43093] An error occurred while processing the EXECUTE PHYSICAL statement. [nQSError: 17001] Oracle Error code: 900, message: ORA-00900: invalid SQL statement at OCI call OCIStmtExecute: var rc refcursor exec testingprocedure(:rc) print rc. [nQSError: 17011] SQL statement execution failed. (HY000)

SQL Issued: {call NQSGetQueryColumnInfo('EXECUTE PHYSICAL CONNECTION POOL "r2_conn_pool" var rc refcursor exec testingprocedure(:rc) print rc')}

Comments
Locked Post
New comments cannot be posted to this locked post.