What's wrong with nullable columns in composite primary keys?

后端 未结 6 1041
囚心锁ツ
囚心锁ツ 2020-11-27 12:57

ORACLE does not permit NULL values in any of the columns that comprise a primary key. It appears that the same is true of most other \"enterprise-level\" systems.

At

6条回答
  •  感动是毒
    2020-11-27 13:28

    I still believe this is a fundamental / functional flaw brought about by a technicality. If you have an optional field by which you can identify a customer you now have to hack a dummy value into it, just because NULL != NULL, not particularly elegant yet it is an "industry standard"

提交回复
热议问题