database - Set of Foreign Keys Where All But One Are NULL -


What is the name of the technique to use a set of foreign keys in the table, where all the lines are given?

In other words, each line needs a foreign key for one (and only one) of a different key, so you have all the necessary foreign keys but all are the same null.

(Users of DJO can recognize it as an alternative to using a generic foreign key)

Instead, I want to create a foreign key that references a common super-table of your different parent tables.


  • Comments

    Popular posts from this blog

    objective c - iPhone and it's wireless area -

    unix - Listing all shared memory segments used by a process on AIX5.3+ -

    tsql - Correct sql/hql query (aggregate in where clause) -