error: The MERGE statement attempted to UPDATE or DELETE the same row more than once...' when attempting to refresh the ETL"

 When attempting to run an ETL refresh, a user may notice that it fails with the below error:

Error: 2015-03-30 17:45:05.21
   Code: 0xC002F210
   Source: Maintain Constituent Primary Email Address Execute SQL Task
   Description: Executing the query "merge BBDW.[DIM_CONSTITUENT] as t
using BBDW.[v_FA..." failed with the following error: "The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
End Error
Warning: 2015-03-30 17:45:05.21
  Code: 0x80019002
   Source: Load Constituent 
   Description: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
End Warning
 
This occurs when there are records in the database that contain more than 1 primary email address.  This is an unsupported scenario and the application provides validation to prevent this occurrence.  This occurred due to conversion data that improperly contained more than 1 primary email address, and is being corrected by the project's conversion team.  

Environment

 4.0.131

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.