Обсуждение: AW: AW: [HACKERS] isnull() or is it?t

Поиск
Список
Период
Сортировка

AW: AW: [HACKERS] isnull() or is it?t

От
Zeugswetter Andreas IZ5
Дата:
>Zeugswetter Andreas IZ5 wrote:>> >>         > isnull() is on our TODO list.>> >>         It should be called NVL()
from"Null VaLue" like in
 
Oracle and>> Informix.>>         isnull() would suggest a boolean return value to me.>> >>>With SyBase, IsNull(X,Y)
returnsX if X is not null, and Y>if X is null.
 
Yes, the difference is only the name of the function.
Andreas


Re: AW: AW: [HACKERS] isnull() or is it?t

От
Bruce Momjian
Дата:
> 
>     >Zeugswetter Andreas IZ5 wrote:
>     >> 
>     >>         > isnull() is on our TODO list.
>     >> 
>     >>         It should be called NVL() from "Null VaLue" like in
> Oracle and
>     >> Informix.
>     >>         isnull() would suggest a boolean return value to me.
>     >> 
>     >
>     >
>     >With SyBase, IsNull(X,Y) returns X if X is not null, and Y
>     >if X is null.
> 
>     Yes, the difference is only the name of the function.

isnull() is used by Ingres.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026