SSIS package to split the flat file to multiple chunks

  • Hi All,

    I have flat file more than 1GB. I want to split that 1GB flat file in to multiple chunks using an SSIS package. Please help me out in this to split that flat file.

    Srinadh.

  • I would add a conditional split to the data flow and split based upon the primary key of the text file , if there is no primary key then you need to find a suitable composite key..

  • You could add a row number to the flow, using either a script component or a 3rd party component. Then use a conditional split with some modulo operators to split out the data in several chunks.

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

  • Adding a conditional split should solve the purpose :cool:.

  • juvvipramod (3/23/2011)


    Adding a conditional split should solve the purpose :cool:.

    No kidding? Exactly the same solution mentioned by the previous two posts...

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

  • yeah... right

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

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