Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » Error Messages » SQL Anywhere error messages » SQL Anywhere error messages sorted by message text (D-K)

 

Foreign key columns do not match the primary key or a uniqueness constraint in \"%1\

Error constant SQLE_NO_MATCHING_INDEX
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 The name of the primary table.
Severity 16
SQLCODE –1226
SQLSTATE 42R04
Sybase error code 13291
Probable cause

An attempt was made to create a foreign key, but the columns specified do not match the primary key or a uniqueness constraint for the referenced table.