Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Using BLOBs in OCI
Hi,
I have this problem:
I'm using OCI combined with PRO C.
I'm using "OCILobWrite" OCI function to put a BLOB data, but keep getting a
(-2)
return code. (BAD HANDLE).
cc=OCILobWrite(oschp,errhp , ez_blob, &ez_len, (ub4) 0,
(dvoid *)buf, (ub4) ez_len, OCI_ONE_PIECE,
(dvoid *) 0,
(sb4 (*)(dvoid *, CONST dvoid *, ub4 *, ub1 *)) 0,
(ub2) 0, (ub1) SQLCS_IMPLICIT);
There are 3 handle: oschp which is the service context.
errhp is the error handle. ez_blob is the blob identifier.All three were allocated as shown in examples.
can anyone help?
Eyal. Received on Mon Jul 12 1999 - 01:45:19 CDT
![]() |
![]() |