Error 251

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

Item Description

SQLCode

-251L

Constant

DUPLICATE_FOREIGN_KEY

SQLState

52W06

ODBC 2 State

42000

ODBC 3 State

42000

Sybase Error Code

2062

Severity Code

16

Parameter 1

The role name of the new foreign key.

Parameter 2

The table containing the foreign key.

Probable cause

You attempted to define a foreign key that already exists.


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