I have a table whose primary key is used in several other tables and has several foreign keys to other tables.
CREATE TABLE location ( locationID INT NOT
As explained here, seems the foreign key constraint has to be dropped by constraint name and not the index name. The syntax is:
alter table footable drop foreign key fooconstraint