"Cannot drop primary key or unique constraint because a foreign key still references it."
Item |
Description |
SQLCode
|
-1011004L
|
Constant
|
EMSG_FKEY_STILL_EXISTS_TO_CKEY
|
SQLState
|
QNA27
|
ODBC 2 State
|
ERROR
|
ODBC 3 State
|
ERROR
|
Sybase Error Code
|
20004
|
Severity Code
|
14
|
Probable cause
A primary key or unique constraint involved in a referential integrity relationship cannot be dropped until its corresponding foreign key is first dropped.