Oracle's OLE DB/OValue/C++

From: steven <rgc_at_newsguy.com>
Date: Thu, 12 Jul 2001 00:09:21 -0500
Message-ID: <1dbqktcr464ljigtvc9kegigfsluitgr70_at_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 - 07:09:21 CEST

Original text of this message