Error 126

"Table cannot have two primary keys"

Item Description

SQLCode

-126L

Constant

PRIMARY_KEY_TWICE

SQLState

52W05

ODBC 2 State

42000

ODBC 3 State

42000

Sybase Error Code

2058

Severity Code

16

Probable cause

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


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com