Re: Age function

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Age function
Дата
Msg-id Pine.LNX.4.64.0705141325580.6830@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Age function  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
On Mon, 14 May 2007, Andrus wrote:

> How to create function which returns persons age in years?

   Look at the PostgreSQL docs for "Date/Time Functions and Operators."
You'll find the syntax for AGE() there.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Postgres Printed Manuals
Следующее
От: Bill Moseley
Дата:
Сообщение: Performance issues of one vs. two split tables.