Re: concenation of strings and null values

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: concenation of strings and null values
Дата
Msg-id 3F83310C.2000800@bigfoot.com
обсуждение исходный текст
Ответ на Re: concenation of strings and null values  ("Dieter Fischer (grid-it)" <dieter.fischer@grid-it.ch>)
Список pgsql-general
Dieter Fischer (grid-it) wrote:

> Hello
>
>
>>SELECT 'abc'::text || null::text;
>>
>>The last example looks like a bug,
>>but if it is intentionally so, its
>>at least very annoying and inconvenient.
>
>
> NULL means here UNKOWN. You cannot add or concatenate something to an
> undefined Value.


You can but the result is UNKNOWN.

Regards
Gaetano Mendola


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: PL/PGSQL for permutations?
Следующее
От: nolan@celery.tssi.com
Дата:
Сообщение: Re: "select count(*) from contacts" is too slow!