|
Easiest way to deal with this is to use the With (Ignore_Dup_Key=On) option. It's also the fastest. But, you need to consider it very carefully, and decide whether this is truly what your system needs.
As others have hinted at, there's a problem with your data, and the error you see is when a constraint prevents your data from going all out corrupt. That means there's a larger flaw in the system. Or, to put it another way, line 720 is only the most immediate, last stage "cause" of what you're seeing, but the problem doesn't live there.
|