coalesce function

Поиск
Список
Период
Сортировка
От itishree sukla
Тема coalesce function
Дата
Msg-id CAL-g6VS4tJOQ74buV_LOBLj31GyXXq-CM_yfUVKRz9niJa=c-A@mail.gmail.com
обсуждение исходный текст
Ответы Re: coalesce function  (Serge Fonville <serge.fonville@gmail.com>)
Re: coalesce function  (Leif Biberg Kristensen <leif@solumslekt.org>)
Re: coalesce function  (David Johnston <polobo@yahoo.com>)
Список pgsql-general
Hi All, 

I am using coalesce(firstname,lastname), to get the result if first name is 'NULL' it will give me lastname or either way. I am having data like instead of NULL,  blank null ( i mean something like '' ) for which coalesce is not working, is there any workaround or other function available in postgresql, please do let me know.


Regards, 
Itishree

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

Предыдущее
От: salah jubeh
Дата:
Сообщение: Replication with Drop: could not open relation with OID
Следующее
От: Serge Fonville
Дата:
Сообщение: Re: coalesce function