简体   繁体   中英

SQL Conditional Alerts

I am new to SQL and use Azure Data Studio for data analysis. I am trying to setup a conditional email/text alert when a column value is greater than a given value in my SQL database. I am confused how to go about this... would I use SMTP, Azure monitor, etc.?

I have looked into Azure monitor, but it seems that it is more commonly used for alerts regarding the performance of a database and not the values contained within the database.

It is possible to send an email message from SQL Server using the sp_send_dbmail system proc.

This is documented at Microsoft

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