Invalid reference to or operation on constraint '%1'

Item Value
SQLCODE -937
Constant SQLE_INVALID_CONSTRAINT_REF
SQLSTATE 42U06
Sybase error code 13550
ODBC 2 State S0002
ODBC 3 State 42S23
Parameter 1 Name of the constraint can not be used for the specified purpose.

Probable cause 

You specified an invalid operation on a constraint, i.e., tried to ALTER a primary key constraint.