Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

SQL Merge results in UPSERT settings

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
KellyHobson
Former Employee
Former Employee

SQL Merge results in UPSERT settings

Last Update:

Apr 4, 2022 1:15:53 PM

Updated By:

KellyHobson

Created date:

Apr 4, 2022 1:15:53 PM

Within Task Settings -> Change Processing, when you select 'Apply changes using SQL Merge', by default it will switch to UPSERT mode in the Apply Conflicts settings. The settings which are locked in or greyed out are still in effect.

No record is found on delete? -> Ignore record
Duplicate is observed on insert? -> Update the existing target record
No record is found on update? -> INSERT the missing target record

Prior setting:

1.png

Make the change to use SQL Merge:

2.png

Result:

 

3.png

Environment

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

 

Contributors
Version history
Last update:
‎2022-04-04 01:15 PM
Updated by: