Column %1 in foreign key has a different definition than primary key
Item |
Value |
---|---|
SQLCode |
-113 |
Constant |
SQLE_INVALID_FOREIGN_KEY_DEF |
SQLState |
53030 |
ODBC State |
23000 |
Parameter 1 |
name of the problem column |
The data type of the column in the foreign key is not the same as the data type of the column in the primary key. Change the definition of one of the columns using ALTER TABLE.