Column '%1' in foreign key has a different definition than primary key

Item Value
SQLCODE -113
Constant SQLE_INVALID_FOREIGN_KEY_DEF
SQLSTATE 53030
Sybase error code 1721
ODBC 2 State 42000
ODBC 3 State 42000
Parameter 1 Name of the problem column.

Probable cause 

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.