Here is what I am trying to do:
Send an e-mail when the value of a column 'SerialNo' is greater than 1500
Select wksNo, serialNo, from Tickets where serialNo > 1500
Microsoft SQL Server 2008
Last Comment
Guy Hengel [angelIII / a3]
8/22/2022 - Mon
Guy Hengel [angelIII / a3]
and what exactly is the issue ?
* creating the trigger to do something
* sending email
* ...
I would create a trigger on insert/update, and put the primary key information into a table
a scheduled job, to be run every 5 minutes, would take the rows from that table, and send an email based on the information, and delete the rows on successful sending
* creating the trigger to do something
* sending email
* ...
I would create a trigger on insert/update, and put the primary key information into a table
a scheduled job, to be run every 5 minutes, would take the rows from that table, and send an email based on the information, and delete the rows on successful sending