Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Date Comparisons
I am trying to compare the system date (sysdate) and other date field (old_date).
If I do a :
SQL> SELECT sysdate - old_date from table;
I get a Julian Date back: something like :
2.345345
I would like to convert that to an hour minute sec type format.
I tried to use the TO_DATE and TO_CHAR using the julian date operator, but it only handles full days, and does not process the devmal part of the day.
Any help would be appreciated.
Thanks,
Ron Received on Fri Aug 29 1997 - 00:00:00 CDT
![]() |
![]() |