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...
|
Список | 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
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 по дате отправления: