Error 1009152

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

Item Description

SQLCode

-1009152L

Constant

EMSG_RI_VIOLATION_FK

SQLState

QSB48

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

20192

Severity Code

14

Parameter 1

location of exception

Parameter 2

operation: update or insert/load

Parameter 3

role name for FK

Parameter 4

row id that violated RI

Probable cause

No additional information available. Cannot insert/update FK if there does not exist same value in associated CK 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