Chapter 6-Logical Database Design Flashcards
NO CHECK is the same as…
RESTRICT
Entity integrity
Ensures that all primary key attributes are not null.
Enterprise Constraint
Ensuring that all business rules concerning database are adhered to.
NO CHECK
When the parent key is deleted, does not check that referential integrity is maintained.
SET DEFAULT
When the parent key is deleted, the child keys will all be set to a default value.
SET NULL
When the parent key is deleted, all referenced child keys are automatically set to null.
CASCADE
If the parent key is deleted, any child keys that are referenced by the parent key are automatically deleted. If the child key is a parent key in another relationship, then the deletion will be applied to the child keys in a cascading manner.
NO ACTION
Prevents a record from being deleted if any child relations reference the parent key.
Referential Integrity
Ensures that all foreign keys reference an existing parent key in a parent relation.
Domain Constraints
A set of permissible values for one or more attributes.
Intermediate Entity
An entity created as a result of the decomposition of a relation while resolving a m:n relationship.
Necessary Data
Any attributes that cannot be left blank or null under any circumstances.