Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Trouble selecting dates - more
I had an email suggestion that I use HH24:MI:SS for my date format. I
did try this with the same result. In the script that did the insert I
had
$datefm="YYYY-MM-DD HH24:MI:SS";
So I know that it was inserted into the DB in that format...so I'm still stuck!
SQL> select request_date from new_absencehistory where request_date=to_date('2002-03-13 03:19:39','YYYY-MM-DD HH24:MI:SS');
no rows selected
Regards
Nigel