DBM #03: Integrity Constraints in Relational Models
Checklist: > Be able to identify what integrity constraints are violated when an operation is performed either in a referencing or a referenced relation. > Understand Armstrong's Axioms on Relational Databases > To check if two sets of FDs are equivalent. > To find the minimal cover of a set of FD. > To check if a relation is in a specified normalized form A database is only good as the information stored in it. Integrity constraints are conditions specified on a database schema that places restrictions on the data that can be stored within it. They are enforced when (a) the schema is defined, and (b) when relations are modified. The types of integrity constraints are: 1. Domain integrity constraints , which restricts the domain e.g., Student_ID must be integers. 2. Key integrity constraints , which imposes a uniqueness for values of an attribute. Null values are allowed . 3. Entity integrity constraints , which say that the primary key must be unique and not null. ...