Error 251

Message text

Foreign key '%1' for table '%2' duplicates an existing foreign key

Item

Value

SQLCode

-251

Constant

SQLE_DUPLICATE_FOREIGN_KEY

SQLState

52W06

ODBC State

23000

Parameter 1

the role name of the new foreign key

Parameter 2

the table containing the foreign key

Probable cause

You have attempted to define a foreign key that already exists.