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

Home -> Community -> Usenet -> c.d.o.tools -> Oracle's OLE DB/OValue/C++

Oracle's OLE DB/OValue/C++

From: steven <rgc_at_newsguy.com>
Date: Thu, 12 Jul 2001 00:11:27 -0500
Message-ID: <kbcqkt4dfpmjnmrmah2e8u9dcg2ck4ao7u@4ax.com>

I am reading fields in an Oracle Table using Oracle's OLE DB/C++ oracl.h that are of VARCHAR2(30). I have read the first 4 fields just fine, but the fifth field errors when i try to convert it to a string. Most of the data is like '10 FEB 2001' the rest are blank. The project is a ISAPI Extension.

OValue vmyDate;
string smyDate;
omyTable.GetFieldValue("MYDATE", &vmyDate); smyDate = vmyDate;

IsNull is TRUE for all rows including those that have data, the other fields that are populated are not NULL.

Any Ideas?
steven Received on Thu Jul 12 2001 - 00:11:27 CDT

Original text of this message

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