Re: 'greatest' function?

From: brian <brian(at)zijn-digital(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 'greatest' function?
Date: 2007-02-08 04:06:48
Message-ID: 45CAA1D8.4030609@zijn-digital.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

jws wrote:
> Is there any buil-in function to return the lesser of two numbers?
>
> i.e. lesser(100,125) would return 100.
>
> Do I need to roll my own?
>

Which is it--greatest or least?

No matter, TFM has something to say about it:
http://www.postgresql.org/docs/current/static/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE

brian

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2007-02-08 04:14:04 Re: 'greatest' function?
Previous Message Bruce Momjian 2007-02-08 04:05:49 Re: GPL Licensed Files in 8.1.4