Error 112

Message text

Table already has a primary key

Item

Value

SQLCode

-112

Constant

SQLE_EXISTING_PRIMARY_KEY

SQLState

55013

ODBC State

23000

Probable cause

You have tried 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.