|
-
March 30th, 1999, 06:19 AM
#1
fetching float type data from oracle in a VC++ program using OCI calls
we have daclared the datatype as number(10,4).to fetch the value from the database to vc++ program we are using ORACLE
CALL INTERFACE(OCI) 'odefin'.
it defines the variable in which output is to be fetched.
odefin(Cda_Def *cursor, sword pos, ub1 *buf,
sword bufl, sword ftype, ,
[sb2 *indp], , ,
, [ub2 *rlen],
[ub2 *rcode]);
what should be the datatype of parameters 3,4 and 5?
from,
Durga Gumaste
-
December 18th, 2000, 10:35 PM
#2
Re: fetching float type data from oracle in a VC++ program using OCI calls
Hi,
There are parameter types:
int (sword, eword, sb4, ub4)
short int (sb2, ub2)
char (ub1, sb1)
addresses of program variables (pointers)
memory pointers (dvoid)
Another thing:
paramters enclosed in brackets ([]) are optional.
Regards, Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|