| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> OCI: DefineBypos
I am using OCI to connect my Application to an Oracle 8 Server.
I am trying now to make a simple select like a <select * from ..> , try to
retrieve the rowinfo and the rows
ret := ociDLL oCIDefineByPos: statementHandle asParameter
defineHandle: defineHandle asParameter
errHandle: errHandle asParameter
position: i asParameter
value: val asParameter
valuesize: (rowDescr getMaxLen: i) asParameter
datatype: (rowDescr getType: i) asParameter
indicatorpointer: ind asParameter
rlenp: 0 asParameter
rcodep: err asParameter
mode: OCI_DEFAULT asParameter.
My select has NULL values, i tried to used the indicator pointer to catch that, but the value I have in it are not correct. ALso the value in rcodep are not correct.
Do I neeed another call to oci before or any ideas?
Thanks in advance Received on Wed Oct 23 2002 - 01:59:08 CDT
![]() |
![]() |