Codd's rules refers to a set of 13 database management system rules (0-12) developed by E.F. Codd in 1969-1970. He designed these rules as the prerequisites to consider a database management systems (DBMS) as a relational data base management system (RDBMS). Although the rules were not initially widely popular in commercial use, later DBMSs were based on Codd's rules. Codd's rules are also referred to as Codd's law, Codd's 12 rules or Codd's 12 commandments.
CODD’s 12 rules define an ideal relational database which is used as a guideline for designing relational database systems today. Though no commercial database system completely conform to all 12 rules, they do interpret the relational approach. Here are the CODD’s 12 rules:
Of all the rules, rule 3 is the most controversial. This is due to a debate about three-valued or ternary, logic. Codd's rules and SQL use ternary logic, where null is used to represent missing data and comparing anything to null results in an unknown truth state. However, when both booleans or operands are false, the operation is false; therefore, not all data that is missing is unknown, hence the controversy.
Get Techopedia delivered to your inbox!