Options for eliminating NULLable columns from a DB model (in order to avoid SQL's three-valued logic)?

后端 未结 7 1461
温柔的废话
温柔的废话 2021-02-08 20:19

Some while ago, I\'ve been reading through the book SQL and Relational Theory by C. J. Date. The author is well-known for criticising SQL\'s three-valued logic (3VL).

相关标签:
7条回答
  • 2021-02-08 21:20

    One alternative may be the entity-attribute-value model:

     entity  attribute    value
     1       name         Banana Man
     1       birthdate    1968-06-20
    

    If the birthdate was unknown, you'd just omit its row.

    0 讨论(0)
提交回复
热议问题