#1 2007-01-10 15:51:59

pdeetlefs
Member
Company: MWEB CAPE TOWN
Registered: 2006-12-19
Posts: 71
Website

tMerge suggestion

How about a tMerge component to merge 2 files together, on a common key, with options to include or exclude records if matched or not.

Offline

#2 2007-01-10 16:16:49

plegall
Member
Registered: 2006-09-19
Posts: 1586
Website

Re: tMerge suggestion

Merging may match two behaviour: joining or appending. Delostilos has recently created [Bugtracker, feature 425, fixed] new component tUnite and [Bugtracker, feature 424, open] tJoin (tIntersection & tMinus/tExcept) that may interest you.

Offline

#3 2007-01-14 00:52:06

delostilos
Member
Company: Netherlands
Registered: 2006-12-13
Posts: 27

Re: tMerge suggestion

Hi,

appending can be done with 2 flows to a flat file. The first one inserts and the second file is set to appand mode and appends records to the same file as the first flow. Then you have effectivly done a Union All like in SQL. If you the do an deduplicate via UniqRow then you have a union like in SQL. See my flows.


Uploaded Images


Saludos,
JJ.

Offline

Board footer

Powered by FluxBB