Re: how to conditionally append

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: how to conditionally append
Дата
Msg-id 20070425163240.GA17702@KanotixBox
обсуждение исходный текст
Ответ на how to conditionally append  (kvnsmnsn@cs.byu.edu)
Список pgsql-novice
kvnsmnsn@cs.byu.edu <kvnsmnsn@cs.byu.edu> schrieb:
> The problem with this is that sometimes <ext> is <NULL>, and apparent-
> ly a <NULL> value concatenated with any kind of character string al-
> ways results in a <NULL> value.  At least that's the results I've been

... coalesce(ext,'')...

Read the doc about coalesce().



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: "Daniel T. Staal"
Дата:
Сообщение: Re: International Date formats
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: moving data from windows to linux