delete query to remove foreign key constraint code example
Example: how to remove foreign key constraint in sql
USE AdventureWorks2012;
GO
ALTER TABLE dbo.DocExe
DROP CONSTRAINT FK_Column_B;
GO
USE AdventureWorks2012;
GO
ALTER TABLE dbo.DocExe
DROP CONSTRAINT FK_Column_B;
GO