Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Comparing against time aswell as date
Hi
How do I compare the time aswell as the date ie. the following '28-Jul-98 08:00:00' does not seem to work.
select to_char(applydate,'DD-MON-YY HH24:MI:SS'), to_char(startdatetime,'DD-MON-YY HH24:MI:SS') from total where startdatetime > '28-Jul-98 08:00:00' order by startdatetime desc
Thanks
Declan O'Reilly
Received on Tue Jul 28 1998 - 10:07:17 CDT
![]() |
![]() |