44
Constraints in SQL
•
Constraints in SQL:
•
Keys, foreign keys
•
Attribute-level constraints
•
Tuple-level constraints
•
Global constraints: assertions
•
•
The more complex the constraint, the harder it is to
check and to enforce
simplest
Most
complex