Re: Concatenation containing a "null" term

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Concatenation containing a "null" term
Дата
Msg-id 20060528213337.GA73207@winnie.fuhr.org
обсуждение исходный текст
Ответ на Concatenation containing a "null" term  ("Pierre Thibaudeau" <pierdeux@gmail.com>)
Ответы Re: Concatenation containing a "null" term  ("Pierre Thibaudeau" <pierdeux@gmail.com>)
Список pgsql-novice
On Sun, May 28, 2006 at 05:17:12PM -0400, Pierre Thibaudeau wrote:
> Is there a way of having the null-strings terms of the concatenation
> operator be considered as empty strings instead?

Use COALESCE.  Some people create a custom concatenation operator
that automatically does so.

http://www.postgresql.org/docs/8.1/interactive/functions-conditional.html#AEN12639
http://www.postgresql.org/docs/8.1/interactive/sql-createoperator.html

--
Michael Fuhr

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

Предыдущее
От: "Pierre Thibaudeau"
Дата:
Сообщение: Concatenation containing a "null" term
Следующее
От: "Pierre Thibaudeau"
Дата:
Сообщение: Re: Concatenation containing a "null" term