Customer Portal

CloverETL - MSSQL 2012 Select statements and JOINs

Comments 3

  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi mrhong13371,

    Could you please tell me what the expected output of this use case will be?
  • Avatar
    mrhong13371
    0
    Comment actions Permalink
    HI vazquezrosariop,

    thanks for your reply! This is just an generic example. At the end of the day, I want to join two different tables on one key and I do not understand how to realize this example w/ CloverETL.

    Thank you for your time!


    Best regards,
    Shun Long
  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    You seem to be on the correct track, you need to access the Transformation editor in the DBJoin to map the input values to the output values from both databases.

    Another option to your use case would be to add a second DBInputTable containing SQL query:

    Select * from assistenten


    and use a ExtMergeJoin to join the two input streams by using the appropriate Join Key. Finally, use the Transformation editor to map the input metadata to the correct output metadata.

    I have taken the liberty of attaching a project with both use case implemented.

    DatabaseExample.zip

Please sign in to leave a comment.