| From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
|---|---|
| To: | "guard" <guard(at)ficnet(dot)net>, pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: nullif BUG??? |
| Date: | 2001-07-27 15:19:41 |
| Message-ID: | web-92561@davinci.ethosmedia.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Guard,
> > select nullif(NULL,5)
>
> +--------+
> | case |
> +--------+
> | <Null> |
> +--------+
>
Er... what were you expecting, exactly?
Except for IS NULL (and COALESCE, which uses IS NULL) any operation
involving a NULL is also NULL.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 2 bytes |
| unknown_filename | text/plain | 2 bytes |
| unknown_filename | text/plain | 2 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gonzo Rock | 2001-07-27 18:01:57 | Re: D308-E9AF-4C11 : CONFIRM from pgsql-sql (subscribe) |
| Previous Message | guard | 2001-07-27 09:48:46 | nullif BUG??? |