Add a column with a value from another source

  • Hello there,

    i'm using SSIS 2012 .

    i have 2 sources ( xml files) in 1 data flow and from each source i have data .

    from source A i got multiple rows with 2 columns.( name,age)

    from source B i got only 1 row and 1 column (CITY)...means i have only one value which is "NYC"

    i want to eventually to join the city (again,there is only 1 value) to the other data (name,age)

    the result would be:

    name, age,city

    jenny,17,NYC

    bob,22,NYC

    lee,23,NYC

    how do i do that?

    thanks

  • Try to use " Lookup Dataflow item"

  • Guitar_player (1/29/2013)


    Try to use " Lookup Dataflow item"

    Lookup wont work since there is no common key between these 2 tables...

  • You could try a MERGE JOIN from t1.name to t2.city, join type = FULL.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • have that city column value into a variable and use derived column

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply