| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> 2000 Date problem?
I have a record with Start Date & End Date. Record in the database are:
contentId startDate endDate
--------- ------------------- -------------------
73 03/01/2000 00:00:00 03/31/2000 23:59:59
73 03/01/2000 00:00:00 03/31/2000 23:59:59
when I run the following query it returns NO rows:
SELECT content_id "contentId",
to_char(start_date, 'MM/DD/YYYY HH24:MI:SS') "startDate",
to_char(end_Date,'MM/DD/YYYY HH24:MI:SS') "endDate"
FROM x
However, when I run the following query it returns both rows (using 12/31/1999 as end date comparison):
SELECT content_id "contentId",
to_char(start_date, 'MM/DD/YYYY HH24:MI:SS') "startDate",
to_char(end_Date,'MM/DD/YYYY HH24:MI:SS') "endDate"
FROM media_nvod_dates
![]() |
![]() |