• corder (9/12/2012)


    ... does anyone have any thoughts?

    Yes. Why are you using SSIS for any of this other than extracting the file from the email? Just do a bulk insert into a staging table, validate the data, and have at the rest as you would with any other "upsert" queries.

    Also, if this is something that's supposed to happen on a regular basis, why not just have the other party setup an FTP (or SFTP) and download the files instead of messing with emails?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)