Re: Temporal Units

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Temporal Units
Дата
Msg-id Pine.LNX.4.64.0704300900540.17352@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Temporal Units  ("John D. Burger" <john@mitre.org>)
Ответы Re: Temporal Units
Список pgsql-general
On Mon, 30 Apr 2007, John D. Burger wrote:

> There was a brief discussion of this just last week, with a few solutions
> suggested:
>
> http://archives.postgresql.org/pgsql-general/2007-04/msg01098.php

John,

   That thread asked how to find business days between any two specified
dates. I would like to create a calendar table that includes business days,
holidays, Julianized dates, and other interesting tid-bits that are of value
in a business application. Then dates can be looked up in the table to learn
their attributes and the calculations don't need to be done each time.

   A Google search with the terms "sql calendar table" returns > 1.4 million
hits. They're almost all SQL Server, T-SQL, and similar. I am really
surprised at not finding a postgresql solution among all these (but I looked
only at the first 40 hits).

Rich

--
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

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

Предыдущее
От: Ted Byers
Дата:
Сообщение: Re: Temporal Units
Следующее
От: Philippe Amelant
Дата:
Сообщение: Re: Server crash on postgresql 8.2.4 with tsearch2