Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

What is the best way to get notified of an event?

$
0
0

I have a SProc that runs every day.  I do a simple calculation and I would expect the results to be 0 almost all the time, but once in a while the difference may not be zero.  How can I find out when the difference <> 0?  Is this a trigger?  Can I send myself an email?  I can post the SQL script if it helps.  However, I think the question is more about how to be notified of an event when the SProc produces a result <> 0.

Thanks!!


Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>