encyclopegia.org

Entity integrity

Entity integrity is concerned with ensuring that each row of a table has a unique and non-null primary key value; this is the same as saying that each row in a table represents a single instance of the entity type modelled by the table. A requirement of E. F. Codd in his seminal paper is that a primary key of an entity, or any part of it, can never take a null value. The relational model states that every relation (or table) must have an identifier, called the primary key (abbreviated PK), in such a way that every row of the same relation be identifiable by its content, that is, by a unique and minimal value. The PK is a not empty set of attributes (or columns). The same format applies to the foreign key (abbreviated FK) because each FK matches a preexistent PK. Each of attributes being part of a PK (or of a FK) must have data values (such as numbers, letters or typographic symbols) but not data marks (also known as NULL marks in SQL world). Morphologically, a composite primary key is in a "steady state": If it is reduced, PK will lose its property of identifying every row of its relation but if it is extended, PK will be redundant.

Entity integrity is concerned with ensuring that each row of a table has a unique and non-null primary key value; this is the same as saying that each row in a table represents a single instance of the entity type modelled by the table. A requirement of E. F. Codd in his seminal paper is that a primary key of an entity, or any part of it, can never take a null value. The relational model states that every relation (or table) must have an identifier, called the primary key (abbreviated PK), in such a way that every row of the same relation be identifiable by its content, that is, by a unique and minimal value. The PK is a not empty set of attributes (or columns). The same format applies to the foreign key (abbreviated FK) because each FK matches a preexistent PK. Each of attributes being part of a PK (or of a FK) must have data values (such as numbers, letters or typographic symbols) but not data marks (also known as NULL marks in SQL world). Morphologically, a composite primary key is in a "steady state": If it is reduced, PK will lose its property of identifying every row of its relation but if it is extended, PK will be redundant. ==See also== Domain integrity Data integrity Referential integrity Null (SQL) ==References==

References

  1. Entity Integrity · retrieved 2026-11-18 · rev 1261723566
    Cite this reference

    MLA "Entity Integrity." 2026-11-18. https://www.sqa.org.uk/e-learning/MDBS01CD/page_39.htm. Accessed 24 November 2026.

    Chicago "Entity Integrity." 2026-11-18. https://www.sqa.org.uk/e-learning/MDBS01CD/page_39.htm.

    APA encyclopegia.org. (2026). Entity Integrity. Retrieved November 24, 2026, from https://www.sqa.org.uk/e-learning/MDBS01CD/page_39.htm

Cite this article

MLA

"Entity integrity." encyclopegia.org, 2024, https://encyclopegia.org/wiki/entity-integrity. Accessed 24 November 2026.

Chicago

"Entity integrity." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/entity-integrity.

APA

encyclopegia.org. (2024). Entity integrity. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/entity-integrity

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1261723566 · 0.5 · snapshot enwiki-001261723566

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.