Data Integrity
Data integrity means, in part, that
you can correctly and consistently
navigate and manipulate the tables in
the database. There are two basic rules
to ensure data integrity; entity
integrity and referential integrity.
The entity integrity rule
states that the value of the primary key
can never be a null value (a null value
is one that has no value and is not the
same as a blank). Because a primary key
is used to identify a unique row in a
relational table, its value must always
be specified and should never be
unknown. The integrity rule requires
that insert, update, and delete
operations maintain the uniqueness and
existence of all primary keys.
The referential integrity
rule states that if a relational table has a
foreign key, then every value of the
foreign key must either be null or match
the values in the relational table in
which that foreign key is a primary key.
Next... Relational
Data manipulation |