Forum Replies Created

Viewing 3 posts - 16 through 18 (of 18 total)

  • RE: Agent Job report omit previously sent data

    I played around with the Datediff in the script just to test the script to get some results; I don't think this would apply here as we're telling it to...

  • RE: Agent Job report omit previously sent data

    I got a tip from my post on stackoverflow for this suggesting to use an extra column on my orderherader table and set a value there as a "flag" of...

  • RE: Using SP_Send_DBMail to send query as csv

    So i was able to get this script working on my end after playing around with the different parameters;

    IF Exists ( Select cht_number, cht_itemcode, cht_description from chargetype where last_updatedate>'11/11/2014')

    execute msdb.dbo.sp_send_dbmail

    @profile_name=Null,

    @recipients='mail@domain.com',

    @subject='Test',

    @Execute_Query_Database='DB_Name',

    @query='Select...

Viewing 3 posts - 16 through 18 (of 18 total)