I need a SQL...

Поиск
Список
Период
Сортировка
От Bjørn T Johansen
Тема I need a SQL...
Дата
Msg-id 1063279510.13384.34.camel@dt-btj.dagbladet.no
обсуждение исходный текст
Ответы Re: I need a SQL...  ("Andrew L. Gould" <algould@datawok.com>)
Список 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 по дате отправления:

Предыдущее
От: Caroline Yong
Дата:
Сообщение: Re: how to replicate database
Следующее
От: Alexander Blüm
Дата:
Сообщение: query-question