postgres a funkce

Vitek Burda (noname2) burdav na cs.felk.cvut.cz
Úterý Září 19 10:33:39 CEST 2000


> nvl() je funkce z Oracle, ale rekl bych, ze v postgresu bude taky ;-)

no tak podle dokumentace k postgresu sem nasel:
http://www.postgresql.org/users-lounge/docs/6.5/user/functions.htm#AEN2121

IFNULL(input,non-NULL substitute)             return second argument if first
is NULL

co ale delam spatne??

database=> select ifnull(getwin(1), 0);
ERROR:  No such function 'ifnull' with the specified attributes

??
a delaj mi to skoro vsechny funkce co sem v dokumentaci nasel :((

[PostgreSQL 6.5.3 on i686-pc-linux-gnu, compiled by gcc 2.95.2]  -  na tomhle
jedu a ctu dokumentaci k 6.5  :((

Vitek



Další informace o konferenci Databases