• Again, I have to comment out the profile and use my default profile but when I change the email address to my own, I get the expected email with the expected attachment and no errors.  I'm really starting to think there's an error in the profile you setup.  And I'm also using SQL Server 2012.

    What SP/CU are you using in 2012?

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