Nice, but I still prefer nvl. Coalesce is hard to pronounce, and even harder to type.
-----Ursprüngliche Nachricht-----
Von: Andreas Joseph Krogh [mailto:andreak@officenet.no]
Gesendet: Mittwoch, 18. Oktober 2006 15:48
An: pgsql-hackers@postgresql.org
Cc: Mario Weilguni
Betreff: Re: [HACKERS] bug or feature, || -operator and NULLs
On Wednesday 18 October 2006 15:15, Mario Weilguni wrote:
> >If you want this behaviour you will have to explicitly handle it with
>
> COALESCE().
>
> >regards,
> >Lukas
>
> True. But there's a point where oracle is really better here, they
> named "coalesce" "nvl" => a lot easier to type ;-)
They actually support COALESCE now and explicit JOINs too.
--
Andreas Joseph Krogh <andreak@officenet.no> Senior Software Developer / Manager gpg public_key:
http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS | The most difficult thing in the world is to |
Karenslyst Allé 11 | know how to do a thing and to watch |
PO. Box 529 Skøyen | somebody else doing it wrong, without |
0214 Oslo | comment. |
NORWAY | |
Mobile: +47 909 56 963 | |
------------------------+---------------------------------------------+