Re: Comparing dates in DDL

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Comparing dates in DDL
Дата
Msg-id alpine.LNX.2.20.1901040927060.29312@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Comparing dates in DDL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Comparing dates in DDL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On Fri, 4 Jan 2019, David G. Johnston wrote:

> The is null expression is redundant since check constraints pass when the
> result is unknown.

David,

   I wondered about this since NULL can be missing, unknown, or otherwise
defined. Are there benefits to allowing an empty value in that column when
checking that it's later than the start date rather than explicitly setting
a default date after the start date?

Regards,

Rich


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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: Comparing dates in DDL
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Comparing dates in DDL