Error 113

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

Item Description

SQLCode

-113L

Constant

INVALID_FOREIGN_KEY_DEF

SQLState

53030

ODBC 2 State

42000

ODBC 3 State

42000

Sybase Error Code

2050

Severity Code

16

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.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com