CASE WHEN foo IS NULL THEN DEFAULT ELSE foo END

Поиск
Список
Период
Сортировка
От Markus Bertheau ☭
Тема CASE WHEN foo IS NULL THEN DEFAULT ELSE foo END
Дата
Msg-id 1117804646.9816.37.camel@dicaprio.akademie1.de
обсуждение исходный текст
Ответы Re: CASE WHEN foo IS NULL THEN DEFAULT ELSE foo END
Список pgsql-sql
Hi,

is it planned to support the following insert syntax?

INSERT INTO table VALUES (CASE WHEN arg_whatever IS NULL THEN DEFAULT
ELSE arg_whatever END);

I have the DEFAULT inside the CASE expression in mind.

Markus
-- 
Markus Bertheau ☭ <twanger@bluetwanger.de>



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

Предыдущее
От: Markus Bertheau ☭
Дата:
Сообщение: Re: 'true'::TEXT::BOOLEAN
Следующее
От: Markus Bertheau ☭
Дата:
Сообщение: Re: 'true'::TEXT::BOOLEAN doesn't work