SQL Server: Disable All Constraints

To disable all constraints on all tables in a database:

To enable all constraints on all tables in a database:

Leave a Reply

Your email address will not be published. Required fields are marked *