Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Problems with Dates in new Oracle
We just upgraded our Oracle drivers here, and are having
many problems with Dates. It seems that you can no longer
compare using >, <, >=, <=. The following SQL statement
works with the older driver, but not now:
SELECT E1.REQUEST_NUMBER as REQUEST, E1.SUBMIT_DATE FROM ID_ENTRY_1 E1, ID_ENTRY_1 EDF, ID_ENTRY_1 EDT WHERE E1.CLIENT = 6002 AND E1.REQUEST_NUMBER = EDF.REQUEST_NUMBER(+) AND EDF.SUBMIT_DATE >= to_date('1999-06-01 00:00:00',
'YYYY-MM-DD HH24:MI:SS')
AND E1.REQUEST_NUMBER = EDT.REQUEST_NUMBER(+) AND EDT.SUBMIT_DATE <= to_date('1999-09-28 23:59:59',
![]() |
![]() |