• pretea (3/13/2014)


    It is how the vendor sent in the script?

    Other thing I can try is to ask them to load data into text file and use BCP.

    Heh... I can only imagine what that script must look like.

    Yes, I agree. Load the text file into a staging table using BCP, validate the data, and then insert it into the final table.

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