Error 1009151

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

Item Description

SQLCode

-1009151L

Constant

EMSG_RI_VIOLATION_CK

SQLState

QSB47

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

20191

Severity Code

14

Parameter 1

location of exception

Parameter 2

operation: update or delete

Parameter 3

index name for CK

Parameter 4

row id that violated RI

Probable cause

No additional information available. Cannot delete/update CK if there exists same value in associated FK. any associated foreign key which has any all non-null data.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com