I am trying to remove a primary key constraint from a table using the following
ALTER TABLE SchemaName.LabourGrade DROP CONSTRAINT Labour_Grade_pk
and get the error Labour_Grade_pk is not a constraint.
when i do
SELECT * FROM sysobjects WHERE name = 'LabourGrade_pk'
I get one row back. He really has FK, so I tried to give up this first, but the same problem. I only want to abandon PK to change the column data type, is there a better way to do this?
source share