how could a foreign key ever be NULL?

Поиск
Список
Период
Сортировка
От Terrence Brannon
Тема how could a foreign key ever be NULL?
Дата
Msg-id 8BBB36A0-F2E2-11D5-92F7-003065C2A10C@mac.com
обсуждение исходный текст
Ответ на Indices  (sharmad@goatelecom.com)
Ответы Re: how could a foreign key ever be NULL?
Re: how could a foreign key ever be NULL?
Re: how could a foreign key ever be NULL?
Список pgsql-sql
The Momjian book states:

A single-column foreign key is either NULL or matches a primary key

But the problem I have with this statement is that a primary key 
cannot be null or duplicate. And since the foreign key references 
a value that is neither null or duplicate, how could it ever be 
NULL?



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