Trying to call OCIStmtExecute with several statements e.g. create table ...; create sequence ...; ...
Getting invalid character on the semicolon.
Is there some parameter for OCIStmtExecute or OCIStmtPrepare that will allow me to include an anonymous PL/SQL block (using ; to separate statements)? Or is there some other character instead of ; I can use?
This is actually using the ORAPP library. The call is :
_errno = OCIStmtExecute(_svc, _stmt, _err, (ub4)(_type != OCI_STMT_SELECT), 0, NULL, NULL, _execmode);
I'm on Windows using OCI version 10.2.0.3. (oci.lib)
Thanks
Start Free Trial