From: | Jochen Schmidt <jochen(at)joyce(dot)giub(dot)uni-bonn(dot)de> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | isnull or coalesce isn't working |
Date: | 2000-06-04 09:20:17 |
Message-ID: | 200006040920.LAA03605@joyce.giub.uni-bonn.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
HI
just started using postgres I want to do a select like the following.
I have a table with two columns a and b, where sometimes data are missing.
I want to do:
SELECT ifnull(a,b) FROM table;
==>ERROR: No such function 'ifnull' with the specified attributes
tried the same thing with isnull and coalesce, same error.
help?! thanks, jochen
--
............................................................................
. * .
. Dipl. Geogr. Jochen Schmidt * | | .
. | | | | .
. Department of Geography phone +49/0228/739646 | | | | * .
. University of Bonn fax +49/0228/739099 | |_| | | |.
. Meckenheimer Allee 166 jochen(dot)schmidt(at)uni-bonn(dot)de \___ |_| |.
. D - 53115 Bonn http://slide.giub.uni-bonn.de/~jochen | ___/.
. | | .
............................................................................
From | Date | Subject | |
---|---|---|---|
Next Message | Liz Bartlett | 2000-06-05 03:36:36 | Re: isnull or coalesce isn't working |
Previous Message | Hugh Lawson | 2000-06-04 02:47:56 | Re: Problems compiling test program program form pgsql |