| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> OCI Describe
Hi,
I need to describe a package using OCI.
Here is some code:
text* uname="....";
text* passwd="....";
text pkgName[]="MyPkg";
int i;
OCIDescribe *hDesc=0;
/*Open DB Connection */
...............
OCIHandleAlloc((dvoid *) hEnv, (dvoid **) &hDesc,
(ub4) OCI_HTYPE_DESCRIBE,0,0);
OCIDescribeAny(hCtx, hErr, (text *)SQLStmt,
(ub4) strlen((char *)SQLStmt), OCI_OTYPE_NAME, (ub1)1,
(ub1) OCI_PTYPE_PKG, hDesc);
...........................
at this point it crashes. What am I doing wrong?
Any help is appreciated.
Ilya. Received on Thu Mar 25 1999 - 19:13:33 CST
![]() |
![]() |