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 cannot have two primary keys

Error constant SQLE_PRIMARY_KEY_TWICE
ODBC 2 State 42000
ODBC 3 State 42000
Severity 16
SQLCODE –126
SQLSTATE 52W05
Sybase error code 1923
Probable cause

You specified the primary key twice in a CREATE TABLE statement.