From: | "Stijn Vanroye" <s(dot)vanroye(at)farcourier(dot)com> |
---|---|
To: | "Bruno Wolff III" <bruno(at)wolff(dot)to> |
Cc: | "mike" <mike(at)redtux1(dot)uklinux(dot)net>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Question about inserts |
Date: | 2004-04-23 13:54:52 |
Message-ID: | 71E201BE5E881C46811BA160694C5FCB0FA93D@fs1000.farcourier.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bruno Wolff III wrote:
> On Fri, Apr 23, 2004 at 13:07:43 +0200,
> Stijn Vanroye <s(dot)vanroye(at)farcourier(dot)com> wrote:
> > Maybe you can do something with this function:
> >
> > [quote from the postgres docs]
> > 9.12.2. COALESCE
> > COALESCE(value [, ...])
>
> That's the inverse of what he would want if he used that
> approach. NULLIF
> is what turns things into NULLs.
>
Indeed. I stand corrected. I use the two in my query, guess I just mixed them up :-)
My apologies.
Stijn Vanroye
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2004-04-23 13:56:58 | Re: Question about inserts |
Previous Message | Anton Nikiforov | 2004-04-23 13:48:21 | Insert Or update |