SSIS: OLEDB TO FLAT FILE DESTINATION WITH CHANGES

  • In database I have a table with 2 columns

    name code

    -------------

    mike abc

    mike abc

    mike abc

    mike edf

    mike xyz

    Gail xyz

    George abc

    George xyz

    flatfile should look like this

    ------------------------------------

    xmnty mike abc edf xyz

    xmntt mike abc

    xmntt mike abc

    xmnty Gail xyz

    xmnty George abc xyz

    For first code I will have static value xmnty,for same name and additional same code go to next row assign static value xmntt,for same name different code go to next column.

    Please if you can provide sql query or give me instruction how to do it in SSIS.

  • Does your desired output data reflect the input data provided?

    If so, please provide the rules for handling duplicate rows.

    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.

Viewing 2 posts - 1 through 1 (of 1 total)

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