Join

This article describes an example of creating and executing an ETL task with joining of data from two sources.

Three tables must be in the repository: T_SourceOne, T_SourceTwo and T_Destination. Structure of sources must be identical and must contain the ID and VALUE fields. The structure of consumer must contain the ID, VALUE1 and VALUE2 fields. The repository must also contain an ETL task with the ETLTASKS identifier. On executing the example presented below four objects are created in the ETL task: two repository sources, the Join converter and a repository consumer. The required properties and links are set for all objects:

After objects are created and saved, the ETL task is executed. The similar code applied to different objects is placed into separate procedures or functions.

Fore Example

Fore.NET Example

See also:

Examples | IEtlPlainDataJoin