Re: convert NULL into a value

Поиск
Список
Период
Сортировка
От Ludwig Lim
Тема Re: convert NULL into a value
Дата
Msg-id 20021212040347.81662.qmail@web80305.mail.yahoo.com
обсуждение исходный текст
Ответ на convert NULL into a value  ("Jonathan Man" <jman@equityunderwriters.com.hk>)
Список pgsql-sql
--- Jonathan Man <jman@equityunderwriters.com.hk>
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??
> 
-- The equivalent function is PostgreSQL is 
SELECT COALESCE(field,0)


regards,

ludwig.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


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

Предыдущее
От: "Jonathan Man"
Дата:
Сообщение: convert NULL into a value
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: convert NULL into a value