From: Matteo Beccati <m.beccati@crpsoftware.it>
To: pgsql-sql@postgresql.org
Subject: Re: select case problem
Date: Tue, 24 Sep 2002 16:20:38 +0200
Message-ID: <2780D698C269CB4EB303715BA48B6A1033DE@sole.CRP> (raw)
In-Reply-To: <1032903934.28249.2.camel@Falcon>
Hi,
select case when division_no is null then 'no division' else 'with
division' end from employee;
Is the right syntax
Regards
--
Matteo Beccati
http://www.phpadsnew.comhttp://phppgads.sourceforge.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: m.beccati@crpsoftware.it
Subject: Re: select case problem
In-Reply-To: <2780D698C269CB4EB303715BA48B6A1033DE@sole.CRP>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox