Contents Index Primary key for row in table '%1' is referenced by foreign key '%2' in table '%3' Procedure '%1' is no longer valid

ASA Error Messages
  Database Error Messages
    Alphabetic list of error messages

Primary key for table '%1' is not unique


Item Value
SQLCODE -193
Constant SQLE_PRIMARY_KEY_NOT_UNIQUE
SQLSTATE 23W01
Sybase error code 2601
ODBC 2 State 23000
ODBC 3 State 23000
Parameter 1 Name of the table where the problem was detected.
Probable cause 

You attempted to add a new row to a table, but the new row has the same primary key as an existing row. The database has not added the incorrect row to the database. For example, you might have added a student with student number 86004 and there is already a row for a student with that number.


Contents Index Primary key for row in table '%1' is referenced by foreign key '%2' in table '%3' Procedure '%1' is no longer valid