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

Home -> Community -> Usenet -> c.d.o.server -> Oracle ODBC driver and visual c++

Oracle ODBC driver and visual c++

From: Alessandro <aletambu_at_hotmail.com>
Date: Mon, 29 Oct 2001 10:43:34 +0100
Message-ID: <9rj6p0$a8m$1@fe2.cs.interbusiness.it>


Hi all,
I'm developing a visual c++ application which has to display data from an Oracle database .

I connected my app to Oracle via ODBC and I created using class wizard a new recordset to handle data.
Everything is working fine, I can read and write data correctly to the oracle database but I noticed that integer and boolean data type in Oracle are mapped to Cstring variables in the recordset .

I'm using visual c++ 6.0 , Oracle 8.1.7 and Oracle ODBC driver 8.01.74  Oracle, not Microsoft ODBC for Oracle )

Is it a normal behavior or something is wrong ? There is a way to maintain the data type correspondence ?

Thanks in advance
alessandro. Received on Mon Oct 29 2001 - 03:43:34 CST

Original text of this message

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