Integrity constraint violations occur when an insert, update, or delete statement violates a primary key, foreign key, check, or unique constraint or a unique index.
Message |
Value |
Description |
---|---|---|
|
23000 |
Occurs when a duplicate row is inserted into a table that has a unique constraint or index. |
|
23000 |
Occurs when an update or delete would violate a check constraint on a column. |
|
23000 |
Occurs when an update or delete on a primary key table would violate a foreign key constraint. |
|
23000 |
Occurs when an insert or update on a foreign key table is performed without a matching value in the primary key table. |