Disable unique constraint indexes
If a table has a unique constraint index on say the name column and the change is just sapping the names on the IDs. The script to update the names ends up failing because it causes a unique constraint violation, but if the index is disable, then the update runs, then the index is rebuilt the unique constraint does not cause a failure.
12
votes
Nicholas Orlando
shared this idea
-
Nicholas Orlando commented
Miss spelled swapping with sapping, but don't see a way to edit the idea.