Re: why the need for is null?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why the need for is null?
Дата
Msg-id 1738.1073003036@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: why the need for is null?  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: why the need for is null?  (Mark Kirkwood <markir@paradise.net.nz>)
Список pgsql-general
Mark Kirkwood <markir@paradise.net.nz> writes:
> The relational model was designed using a 3 valued logic - true, false,null.
> All relational database implementations will inflict this on you :-)

Not sure that it's fair to characterize this as a property of the
relational model.  It is a property of the SQL standard.  There are
many purists who say that SQL is not really relational at all (Chris
Date being one of the more prominent ones, IIRC), but in any case,
SQL drew three-valued logic from other sources than the relational
model of databases.

However, it is true that all spec-conforming implementations of SQL
will inflict this on you.  MS SQL Server, for one, has apparently been
non-compliant on this point in the past, and I'm not too sure about
Oracle.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: why the need for is null?
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: why the need for is null?