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 (T-Z)

 

Table already has a primary key

Error constant SQLE_EXISTING_PRIMARY_KEY
ODBC 2 State 42000
ODBC 3 State 42000
Severity 16
SQLCODE –112
SQLSTATE 55013
Sybase error code 1923
Probable cause

You attempted to add a primary key on a table that already has a primary key defined. You must delete the current primary key before adding a new one.