Re: IF function?

From: "Eddy D(dot) Sanchez" <eddy(dot)sanchez(at)gmail(dot)com>
To: Harpreet Dhaliwal <harpreet(dot)dhaliwal01(at)gmail(dot)com>
Cc: novnov <novnovice(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: IF function?
Date: 2007-05-02 03:37:50
Message-ID: F2B29FA3-7928-487B-9A7C-271768733911@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You must use
CASE var=val2 THEN [true statement] ELSE [false statement] END

In response to

Browse pgsql-general by date

  From Date Subject
Next Message david 2007-05-02 04:34:13 Re: Feature Request --- was: PostgreSQL Performance Tuning
Previous Message Eddy D. Sanchez 2007-05-02 03:33:16 Re: pgsql and Mac OS X