Error 1009151

Message text

Cannot %2 CK %3 row %4 because of RI violation. %1

Item

Value

SQLCode

-1009151

Constant

EMSG_RI_VIOLATION_CK

SQLState

QSB47

ODBC State

ERROR

Parameter 1

location of exception

Parameter 2

operation: update or delete

Parameter 3

index name for candidate key

Parameter 4

row ID that violated referential integrity

Probable cause

An associated foreign key exists with the same candidate key value.