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 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster