Codd's Twelve Rules
"Codd's twelve rules define thirteen requirements, numbered 0 through 12, that a database system must satisfy to be considered truly relational."
"Codd's twelve rules define thirteen requirements, numbered 0 through 12, that a database system must satisfy to be considered truly relational."
Edgar F. Codd formulated these rules to give a precise, checkable definition of what it means for a database management system to be "relational," rather than merely resembling one. They cover how data is represented, accessed, and manipulated so that all interaction happens through the relational model itself, without bypass mechanisms.
Rated Heuristic: a dependable rule of thumb, not a proven theorem. The other 224.
Rule 0 (the "Foundation Rule") requires that a system manage its stored data entirely through its relational capabilities, and the remaining twelve elaborate specific consequences. Rule 1 requires all data to be represented explicitly as values in tables, Rule 3 requires systematic handling of missing (NULL) data independent of type, and Rule 12 (the "Nonsubversion Rule") forbids low-level languages from bypassing relational integrity constraints. Together they act as a conformance checklist.
The rules gave the database industry a rigorous yardstick during the early 1980s, when vendors were rebranding pre-relational products with a "relational veneer," and they remain a reference point for evaluating how faithfully any RDBMS implements the relational model.
No commercial database fully satisfies all twelve rules in practice; a 2007 textbook noted no database system complies with all twelve. Codd himself later said the twelve rules offered only "coarse distinctions" compared to the 333 features of his more detailed RM/V2 model.
The rules are sometimes mistaken for a design pattern or best-practice guide rather than a strict conformance test, and cited as if compliance were binary and achieved, when in practice compliance is partial and debated for every major product.
Real as a rule of thumb, not as a theorem. Codd's Twelve Rules is rated Heuristic here: dependable enough to plan with, and with no proof behind it.
Rated from two sources. 225 of the 1,116 entries carry this rating. How the scale works.
The best-known laws are the least likely to rest on measurement.
Edgar F. Codd outlined the relational ideas in 1970 and 1974, then published the twelve rules explicitly in two Computerworld articles in October 1985.
8 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.
Everything above traces to en.wikipedia.org and red-gate.com: two secondary sources, accounts of the original rather than the original itself, which has not been located for this entry. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.