Re: Function in psql to Compare two numbers and return the bigger value - Mailing list pgsql-general

From Bricklen Anderson
Subject Re: Function in psql to Compare two numbers and return the bigger value
Date
Msg-id 45D207FA.7050803@presinet.com
Whole thread Raw
In response to Function in psql to Compare two numbers and return the bigger value  (Emi Lu <emilu@encs.concordia.ca>)
Responses Re: Function in psql to Compare two numbers and return the bigger value  (Emi Lu <emilu@encs.concordia.ca>)
List pgsql-general
Emi Lu wrote:
> HEllo,
>
> I am looking for a psql method to get the bigger value of two numbers.
>
> For example,
>
> methodName(12.6, 3.8)
>
select greatest(12.6,3.8);

pgsql-general by date:

Previous
From: Laura McCord
Date:
Subject: Re: Having a problem with my stored procedure
Next
From: Emi Lu
Date:
Subject: Re: Function in psql to Compare two numbers and return the bigger value