The Dev Pages

A knowledge base for web applications development (and beyond)




ALTER TABLE Project DROP FOREIGN KEY FK_Project_Template;
GO

SHOULD BE

ALTER TABLE Project DROP CONSTRAINT FK_Project_Template;
GO

  1. Tarun Said,

    ALTER TABLE dbo.[TableName] DROP CONSTRAINT [FK_ForeignKeyName];

Add A Comment