Answers for "how to delete a foreign key in sql"

SQL
1

how to remove foreign key constraint in sql

USE AdventureWorks2012;  
GO  
ALTER TABLE dbo.DocExe   
DROP CONSTRAINT FK_Column_B;   
GO
Posted by: Guest on September-24-2020
0

Drop the foreign key sql

ALTER TABLE Orders
DROP FOREIGN KEY FK_PersonOrder;
Posted by: Guest on November-17-2021

Code answers related to "how to delete a foreign key in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language