locked
trigger a mail when table data is updated in sql server by using the ssrs report RRS feed

  • Question

  • User-775001650 posted

    Hi friends,

              i want to genarate a report and trigger a email based on any change will occured in table data in sql server. Is there any better way to do this by using ssrs report.

    thanks.

    Wednesday, April 30, 2014 12:20 PM

Answers

  • User-775001650 posted

    I am done this requierment like i created ssrs report and created a subscription , it will created the subscript job id in SQL Server Agent, i created one trigger on that table  and excuted when data change is occured in data table. In that trigger i call the below line of code.

      exec sp start job 'sbscription job id here'

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 9, 2014 10:48 PM

All replies

  • User-830258159 posted

    Try SSIS instead.

    Friday, May 2, 2014 6:53 AM
  • User88744855 posted

    you can configure sql server mail and from trigger invoke that mail. so just search google for sql server mail configuration and send syntax.

    Wednesday, May 7, 2014 8:20 AM
  • User-775001650 posted

    I am done this requierment like i created ssrs report and created a subscription , it will created the subscript job id in SQL Server Agent, i created one trigger on that table  and excuted when data change is occured in data table. In that trigger i call the below line of code.

      exec sp start job 'sbscription job id here'

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 9, 2014 10:48 PM