I am trying to remove a restriction on a db table, for example:
ALTER TABLE MyTable drop CONSTRAINT FK_MyTable_AnotherTable
But execution just starts and starts. If I stop, I see:
Msg 3727, Level 16, State 0, Line 2 Could not drop constraint. See previous errors.
Web search returns multiple pages, but note that the restriction is correctly named and I am trying to remove it with the correct name
source share