Error 112

"Table already has a primary key"

Item Description

SQLCode

-112L

Constant

EXISTING_PRIMARY_KEY

SQLState

55013

ODBC 2 State

42000

ODBC 3 State

42000

Sybase Error Code

2049

Severity Code

16

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.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com