Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Oracle's OLE DB/OValue/C++
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:12:04 CDT
![]() |
![]() |