Skip to content

Instantly share code, notes, and snippets.

@ArCiGo
Created May 20, 2019 00:15
Show Gist options
  • Save ArCiGo/8c870a261d09148d6059904303bdea77 to your computer and use it in GitHub Desktop.
Save ArCiGo/8c870a261d09148d6059904303bdea77 to your computer and use it in GitHub Desktop.
ALTER TABLE "Order" ADD CONSTRAINT FK_Order_Customer FOREIGN KEY (CustomerId) REFERENCES Customer(Id);
GO
ALTER TABLE "Order" DROP CONSTRAINT FK_Order_Customer;
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment