Re: concat returns null

Поиск
Список
Период
Сортировка
От tivvpgsqljdbc@gtech-ua.com
Тема Re: concat returns null
Дата
Msg-id 4767AEC3.1080908@gtech-ua.com
обсуждение исходный текст
Ответ на concat returns null  (abyss <kurjak@gmail.com>)
Список pgsql-jdbc
abyss wrote:
> I don't know if it's bug or feature but
> select 'test' || null as result
> returns null,
> so i need to case second parameter not to concat if it is null...
It's and SQL feature that neither specific to JDBC nor PostgreSQL. Most
SQL functions return null if any of parameters is null.


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

Предыдущее
От: abyss
Дата:
Сообщение: concat returns null
Следующее
От: Tore Halset
Дата:
Сообщение: Re: find foreign key name