Re: [SQL] (non)zero function

2005-03-28 Thread Christian Kratzer
Hi, On Sun, 27 Mar 2005, Enrico Weigelt wrote: Hi folks, is there an function returning true if the argument is null or zero (just to make some queries more concise). Of course its trivial to implement as SQL function, but if postgresql already provides such a function, I would prefer using it. Loo

Re: [SQL] (non)zero function

2005-03-27 Thread Bruno Wolff III
On Sun, Mar 27, 2005 at 17:58:07 +0200, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > is there an function returning true if the argument is null or > zero (just to make some queries more concise). Of course its > trivial to implement as SQL function, but if postgresql alread

[SQL] (non)zero function

2005-03-27 Thread Enrico Weigelt
Hi folks, is there an function returning true if the argument is null or zero (just to make some queries more concise). Of course its trivial to implement as SQL function, but if postgresql already provides such a function, I would prefer using it. cu -- ---