Re: convert NULL into a value

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: convert NULL into a value
Дата
Msg-id 200212120403.gBC43ZR07085@candle.pha.pa.us
обсуждение исходный текст
Ответ на convert NULL into a value  ("Jonathan Man" <jman@equityunderwriters.com.hk>)
Список pgsql-sql
No, the SQL standard command is COALESCE.

---------------------------------------------------------------------------

Jonathan Man wrote:
> Hi,
> 
> There is a function on the Oracle. That is NVL(field, 0) to convert null into a value (e.g.  ZERO). 
> 
> Can I use this function on the PostgreSQL??
> 
> 
> Thank you for your help!!
> 
> Regards,
> 
> JONATHAN MAN

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Ludwig Lim
Дата:
Сообщение: Re: convert NULL into a value
Следующее
От: "A.M."
Дата:
Сообщение: Re: Getting the latest unique items