Error 118

Message text

Table '%1' has no primary key

Item

Value

SQLCode

-118

Constant

SQLE_NO_PRIMARY_KEY

SQLState

55008

ODBC State

23000

Parameter 1

name of the table that does not have a primary key

Probable cause

You have attempted to add a foreign key referring to a table that does not have a primary key. You will need to add a primary key to the named table.