Re: Question about inserts - Mailing list pgsql-general

From Stijn Vanroye
Subject Re: Question about inserts
Date
Msg-id 71E201BE5E881C46811BA160694C5FCB0FA93D@fs1000.farcourier.com
Whole thread Raw
In response to Question about inserts  (mike <mike@redtux1.uklinux.net>)
List pgsql-general
Bruno Wolff III wrote:
> On Fri, Apr 23, 2004 at 13:07:43 +0200,
>   Stijn Vanroye <s.vanroye@farcourier.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

pgsql-general by date:

Previous
From: Anton Nikiforov
Date:
Subject: Insert Or update
Next
From: Bruno Wolff III
Date:
Subject: Re: Question about inserts