Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OCIDefineByPos used to work in 8.0.3, broken in 8.0.5
I used to get away with using the following Define in 8.0.3...
status = OCIDefineByPos (m_stmthp, &m_defnp[col-1], errhp, col,
(dvoid *) dest, (sb4) size,
(ub2) bindtype, (dvoid *) 0,
(ub2 *) 0, (ub2 *) 0,
OCI_DEFAULT);
But in 8.0.5 I get error 00932 after executing this function.
The particular case involves a SQLT_STR data type. Dest is a char buffer (char buf[101]) and size is 100 (or something less).
I've noodled around with it, but am unable to make the error go away. Any experts give me a clue ? Thanks in advance.
John Baker Received on Tue Apr 27 1999 - 14:58:10 CDT
![]() |
![]() |