Load flat file source data to different destination flat files.

  • Hi all,

    I am new to SSIS I need help for the below scenario...

    I had a flat file source, I want to move half of the data to one destination flat file and another half to another destination.

    please help me for this scenario 🙂

    Thanks in advance.

  • Can you provide how your flat file data looks like?

    Thanks.

  • Look into using the Conditional Split Data Flow Transformation in your Data Flow task.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • Hi thank's for u r response..

    my flat file data is :- fred,milk,10

    ride,beer,15

    fin,milk,18 etc like this it a comma separated data.

  • hi than's for your response.

    I am aware of conditional split but what my question is

    I had one file in that file 50 records are there I want to move 25 records to one file and another 25 records to another file.

    How should i maintain the counter in the data flow.

  • You'll probably need a script component to add a rownumber, so that you can use a conditional split to split the data.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • ...Or you can use a third party component, Row Number Transformation. You can download it here: http://www.sqlis.com/sqlis/post/Row-Number-Transformation.aspx

Viewing 7 posts - 1 through 6 (of 6 total)

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