Quantcast
Viewing latest article 2
Browse Latest Browse All 10

Avoid Untrusted Constraints in SQL Server

Some time ago, I loaded a large set of data into one my tables. To speed up the load, I disabled the FOREIGN KEY and CHECK constraints on the table and then re-enabled them after the load was complete. I am now finding that some of the loaded data was referentially invalid. What happened?

Image may be NSFW.
Clik here to view.
SQL Developer Bundle
12 essential tools for database professionals
The SQL Developer Bundle contains 12 tools designed with the SQL Server developer and DBA in mind. Try it now.

Viewing latest article 2
Browse Latest Browse All 10

Trending Articles