How do I check for NULL

Поиск
Список
Период
Сортировка
От Thiemo Kellner
Тема How do I check for NULL
Дата
Msg-id aa20cf3d-20ab-4788-bab0-60e478c9f125@gelassene-pferde.biz
обсуждение исходный текст
Ответ на How do I check for NULL  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: How do I check for NULL
Список pgsql-general
Hi

I believe there is a misconception. I feel, you meant to say, the subquery does not return any record which is not the same as returns NULL.

In any case, I suggest you to use the "insert select" construct, see examples in https://www.postgresql.org/docs/current/sql-insert.html, e.g. "NSERT INTO films SELECT * FROM tmp_films WHERE date_prod < '2004-05-07';"

Cheers

Thiemo

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