Cannot %2 FK %3 row %4 because of RI violation. %1
Item |
Value |
---|---|
SQLCode |
-1009152 |
Constant |
EMSG_RI_VIOLATION_FK |
SQLState |
QSB48 |
ODBC State |
ERROR |
Parameter 1 |
location of exception |
Parameter 2 |
operation: update or insert/load |
Parameter 3 |
role name for foreign key |
Parameter 4 |
row ID that violated referential integrity |
You must load the same value(s) into associated candidate key(s) before you can update/load/insert a foreign key or run ALTER TABLE ADD FOREIGN KEY.