Re: Intervals

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Intervals
Дата
Msg-id 32006e067cb06c24f7e57781e91f5950@myrealbox.com
обсуждение исходный текст
Ответ на Intervals  (Jake Stride <nsuk@users.sourceforge.net>)
Ответы How to reduce disk usage and found where disk usage is used? + reindex force doesn`t seem to work  (David Gagnon <dgagnon@siunik.com>)
Список pgsql-general
On Apr 26, 2005, at 18:47, Jake Stride wrote:

> Is there a way to convert in interval into hours? I have a table that
> records the amount of time worked by a person and want to sum up all
> the
> hours, however with the column being an interval once you reach more
> than 24 hours it turns that into a day. This is not what I want so
> instead of outputting 1day 2:00:00 I would want to output 26:00:00 is
> this possible?

Search the archives from the past couple of days of the pgsql-sql
mailing list with the subject line  Re: [SQL] to_char(interval) ? and
you should find a solution. The archives can be found at
http://archives.postgresql.org

Hope this helps.

Michael Glaesemann
grzm myrealbox com


В списке pgsql-general по дате отправления:

Предыдущее
От: Jake Stride
Дата:
Сообщение: Intervals
Следующее
От: Dawid Kuroczko
Дата:
Сообщение: Re: Intervals