Forum Stats

  • 3,874,438 Users
  • 2,266,734 Discussions
  • 7,911,850 Comments

Discussions

ORA-24333 from OCIStmtExecute

I am trying to execute the followind query in OCI 10 on an 11g database:

select text from all_source where owner='<owner>' and name='<procedure>' order by line

I get the ORA-24333 error.  The code is:

...

if ((res = OCIStmtExecute(svcHp, stmtHp, errHp, 0, 0, NULL, NULL, OCI_DEFAULT))  != OCI_SUCCESS && res != OCI_SUCCESS_WITH_INFO)

  return ERROR;

...

The code works fine for any other query.

Tagged:
This discussion has been closed.