On 02/20/11 2:40 PM, matty jones wrote:
If I were to create three separate attributes for each of the separate titles in the seriestitle table then reference those attributes from their respective tables that would produce errors I believe, because a foreign key can't be null and not every attribute will have a value in every tuple.

a foreign key reference most certainly can be NULL, unless you've declared it NOT NULL.

The correct answer is as many separate attributes as there are different tables you want to reference, some of which might be NULL.



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to