• Frank Cazabon (9/17/2014)


    Hi,

    I need to have a process extract some data, export it to CSV and then send it as a plain (non-MIME) message, or as a single-part MIME message. Multi-part MIME messages can't be used.

    This process will be called about 20 times daily with different subsets of data.

    What is the best way to approach this?

    If you don't mind using SSIS, here's one way... just "skip the zip"...

    http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/64028/

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