Morning DBAs,
Had a question regarding triggers to a SQL server that can force it to send email notifications. Some of the triggers would include:
1. When a user attempts to insert, delete, or read from an object in a database, and it gets denied. This shows up in the logs but for the sake of functionality this would be helpful.
2. When a SQL script job hangs indefinitely, fails to run, or "forgets" to start, where the next run date is BEHIND the current date (I was told this can happen?).