alter table drop foreign key constraint sql server code example Example: drop foreign key ALTER TABLE table_name DROP CONSTRAINT fk_name;