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

SQL Anywhere 10.0.1 » SQL Anywhere 10 - Error Messages » Database Error Messages » Alphabetic list of error messages

Table already has a primary key Next Page

Table cannot have two primary keys


Item

Value

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.