Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> need help with OCIBindByPos
Hi
i have a little problem with OCIBindByPos. i have an prepared statement like
this:
INSERT INTO test VALUES (:p1)
where :p1 should be an integer value.
Now i try to bind an integer value to p1:
int value = 99;
OCIBindByPos(m_ociStmt,
&bindpp, m_ociError, 1,
(dvoid*)&value,
(sb4)sizeof(value),
SQL_INT,
(dvoid*)0,
(ub2*)0,
(ub2*)0,
(sb4)0,
(ub4*)0,
OCI_DEFAULT)
-- Regards Dirk MichaelReceived on Wed Sep 10 2003 - 11:35:50 CDT
![]() |
![]() |