A while back some folks helped me create a query to take out my old admin's email address and insert mine.
They mentions setting up a distribution list and I have completed that and it is working.
The problem I have now is how do I remove email address's total from the data base.
We have changed wan/lan vendors. They all have @att.com email address's.
I modified the old update email with this.
I was wondering if someone could tell me if this would work and if not suggest a way to do it.
NEW
update ActionDefinitions
set Target = remove (
CAST(Target as nvarchar(4000)),
' *@att.com', --string you are searching for - to be removed
)
OLD
update ActionDefinitions
set Target = replace (
CAST(Target as nvarchar(4000)),
'chris_stasnek@campbellsoup.com', --string you are searching for - to be replaced
'Solarwinds_notification@campbellsoup.com' --string to replace found expression
)