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

    oracle - The fastest way to check if some records in a database table? -

    php - multilevel menu with multilevel array -

    jQuery UI: Datepicker month format -