Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Compute difference between timestamps
On 3 Jun 2006 11:06:51 -0700, c8s3dw_at_verizon.net wrote:
>In Oracle database, given two timestamp columns, how do I compute the
>difference, expressed in seconds, to three decimal places? i.e. 452.936
Just subtract them, and divided them by the number of seconds per day.
-- Sybrand Bakker, Senior Oracle DBAReceived on Sat Jun 03 2006 - 17:18:26 CDT
![]() |
![]() |