1/4
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Referential Integrity Constraint Violation
Occurs when a foreign key value has no matching primary key value in the referenced table
Key Constraint Violation
Occurs when duplicate values are inserted into a primary key or unique key column
Domain Constraint Violation
Occurs when a value doesn't match the defined data type, format, or range for that column
Entity Integrity Constraint Violation
Occurs when a primary key contains NULL values
Semantic Integrity Constraints
Based on application semantics
Not expressible by model alone
Example: "max 56h/week for all employee projects"
SQL-99 uses triggers and assertions