IIF.. - Mailing list pgsql-sql

From Eduardo Noeda
Subject IIF..
Date
Msg-id 199903291249190210.00CEB3B9@mail.virtualsw.es
Whole thread Raw
List pgsql-sql
Hi!

I'm new in the list (and in PostgreSQL too). I'd like to know if it's posible to perform a function like SQL Server's
"iif"in a SELECT query. Some like:
 

SELECT iif (Number=1, "First", "Other") AS Description
FROM Table;

I don't know if I've explained properly...
--
Eduardo Noeda  --  Virtual Software
enoeda@virtualsw.es



pgsql-sql by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: [GENERAL] Determining if "in a text set"
Next
From: erikp
Date:
Subject: pgsql and function results