Function in psql to Compare two numbers and return the bigger value

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Function in psql to Compare two numbers and return the bigger value
Date: 2007-02-13 18:36:38
Message-ID: 45D20536.9040507@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HEllo,

I am looking for a psql method to get the bigger value of two numbers.

For example,

methodName(12.6, 3.8)

Will return 12.6

Thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laura McCord 2007-02-13 18:45:53 Re: Having a problem with my stored procedure
Previous Message Laura McCord 2007-02-13 18:20:28 Re: Having a problem with my stored procedure