Skip to content

Instantly share code, notes, and snippets.

@YonathanMeguira
Created February 23, 2022 10:38
Show Gist options
  • Save YonathanMeguira/934ba151a5e866b4b710fd53119c59e8 to your computer and use it in GitHub Desktop.
Save YonathanMeguira/934ba151a5e866b4b710fd53119c59e8 to your computer and use it in GitHub Desktop.
no_check_fk_restriction.sql
USE AdventureWorks2012;
GO
ALTER TABLE Purchasing.PurchaseOrderHeader
NOCHECK CONSTRAINT FK_PurchaseOrderHeader_Employee_EmployeeID;
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment