Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCIDefineByPos used to work in 8.0.3, broken in 8.0.5

OCIDefineByPos used to work in 8.0.3, broken in 8.0.5

From: J. R. Baker <jrbaker_at_ccgate.hac.com>
Date: Tue, 27 Apr 1999 12:58:10 -0700
Message-ID: <372616D2.A00A65B1@ccgate.hac.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US