I need a SQL... - Mailing list pgsql-general

From Bjørn T Johansen
Subject I need a SQL...
Date
Msg-id 1063279510.13384.34.camel@dt-btj.dagbladet.no
Whole thread Raw
Responses Re: I need a SQL...
List pgsql-general
I need to write a SQL that calculates the interval between a start time and a stop time. This is the easy part. The problem is that I only have the time part, i.e. no date, so how can I be sure to also calculate the interval if the start time is before midnight and the stop time is after midnight?


Regards,

BTJ

-- 
-----------------------------------------------------------------------------------------------
Bjørn T Johansen (BSc,MNIF)
Executive Manager
btj@havleik.no                  Havleik Consulting
Phone : +47 67 54 15 17         Conradisvei 4
Fax : +47 67 54 13 91           N-1338 Sandvika
Cellular : +47 926 93 298       http://www.havleik.no
-----------------------------------------------------------------------------------------------
"The stickers on the side of the box said "Supported Platforms: Windows
98, Windows NT 4.0,
Windows 2000 or better", so clearly Linux was a supported platform."
-----------------------------------------------------------------------------------------------

pgsql-general by date:

Previous
From: Caroline Yong
Date:
Subject: Re: how to replicate database
Next
From: Alexander Blüm
Date:
Subject: query-question