Error 1008016

Message text

Cannot ALTER DELETE a column that has a unique or primary key constraint.

Item

Value

SQLCode

-1008016

Constant

EMSG_IQ_CONSTRAINTONCOL

SQLState

QNA16

ODBC State

ERROR

Probable cause

You cannot ALTER DELETE a column that has a unique or primary key constraint on it. This is a duplicate of an SA error code.