• hello Grasshopper ,

    I think I have similar kind of task to do.

    Actually I have several .txt files(with different number of columns- textfile1 contains about 10 columns and textfile2 contains about 20 columns and textfile3 contains 5 columns and so on).

    I need to take these text files as source and send these text files data into sql server destination(temportary tables/tables). But the thing is I need to use single flatfile source and single sql server/oledb destination.

    I tried alot and reached at this stage.

    I took one for each loop container and configured and created a variable to store .txt filenames.

    And in the data flow task, Kept one flat file source and one oledb destination.

    And execute the package. now it is reading all the text files but the problem I am getting is, as my text files have different number of columns mapping i am unable to do dynamically.

    I try using script task to do it. But i am not able to do that.

    As you gave the solution to sql server to oracle. I hope you can surely help me.

    I am really need your help.

    Thanks alot.

    vena.