简体   繁体   中英

How to send an email to outlook when a record is inserted in my Database?

I need to know if it is possible to create a trigger that would send an email to outlook when a record is inserted into a database?

Eg When record A is inserted, the trigger will run and send an email to the admin to inform them of a change.

可以使用从ssms在SQL Server代理下创建警报来完成此操作,在此之前,您需要在ssms中配置“受管理的数据库邮件”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM