Re: [SQL] isnull function] - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] isnull function]
Date
Msg-id 199806261913.PAA01028@candle.pha.pa.us
Whole thread Raw
In response to isnull function  (Kachun Lee <kachun@pathlink.net>)
Responses Re: [SQL] isnull function]  (Kachun Lee <kachun@pathlink.com>)
List pgsql-sql
>
> Is there an isnull function avaliable in postgres, such as:
>
>   select isnull(dt_field, 'now') ...
>
> Thanks
>
>

I don't tbink so, but it would be nice.  I think Ingres has it.  It also
would not be hard to write as a loadable function.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-sql by date:

Previous
From: Kachun Lee
Date:
Subject: isnull function
Next
From: Colin Dick
Date:
Subject: Date fields and libpq....