how to delete for foreign key in mssql code example Example: drop foreign key ALTER TABLE table_name DROP CONSTRAINT fk_name;