Skip to main content

Merge Tables

Merges all rows from a source table into a target table. Supports append or key-based upsert.

Category: Named Tables & Rules Engine · Group: Tables · Activity name: TableMerge

The TableMerge activity in the designer

Example

outputVariable = TableMerge("<targetTable>", "<sourceTable>", upsert=False)

Inputs

NameTypeRequiredDefaultDescription
Target TablestringYesName of the table to merge into.
Source TablestringYesName of the table to merge from.
Upsert ModebooleanFalseIf true, upserts by key columns. If false, appends all rows.

Outputs

NameTypeDescription
outputVariablejsonStores result (targetTable, totalRows).