Consolidate Multiple Email Operators
Suppose you’ve been working on cleaning up SQL Agent jobs and their email operators and find that you have more than one operator with the same email address. How would you tidy this up to ease administration?
Let’s do a little setup to demonstrate the scenario. The T-SQL below will create three operators with different names but the same email address. Then it updates two of my existing test jobs to use those email operators when the job fails. I am also logging failures to the Windows Event Log.