• blasto_max (10/20/2013)


    Koen Verbeeck (10/20/2013)


    In contrast with Jeff, I know (quite) a lot about SSIS.

    DO NOT USE SSIS FOR THIS.

    Use dynamic SQL for this (as Jeff mentioned).

    If I would need to do this in SSIS, I would do it with dynamic SQL in an Execute SQL Task.

    (alternatively, you could also use the .NET SQLBulkCopy class in a Script Task)

    Yes, thats what I am doing now. Dynamic SQL inside SSIS. So time consuming !

    "Time consuming" how?

    --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)