Re: [SQL] isnull function]

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: kachun(at)pathlink(dot)net (Kachun Lee)
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] isnull function]
Date: 1998-06-26 19:13:34
Message-ID: 199806261913.PAA01028@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message De Clarke 1998-06-26 19:42:20 lwn.net
Previous Message Kachun Lee 1998-06-26 17:42:03 isnull function

Browse pgsql-sql by date

  From Date Subject
Next Message Colin Dick 1998-06-26 20:12:00 Date fields and libpq....
Previous Message Kachun Lee 1998-06-26 17:42:03 isnull function