Re: Questions about my ifnull function

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Questions about my ifnull function
Date: 2003-09-23 20:15:39
Message-ID: 20030923201539.GA17528@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 23, 2003 at 12:58:03 -0700,
Steve Crawford <scrawford(at)pinpointresearch(dot)com> wrote:
> Having a requirement to change null into a certain value in a query I
> created a couple versions of an ifnull function as follows:
>
> 1. Did I overlook a better builtin function?

COALESCE is the standard way to do this.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-09-23 20:45:47 Re: State of Beta 2
Previous Message Johnson, Shaunn 2003-09-23 20:12:05 Ora2Pg question