I will need a steps that detect some values and alert me through email.
So I enable Database Email and setup.
I will need a Query that detects and if Value is what I am looking for then, I will need that to be send email alert.
SELECT * FROM Worksheet WHERE EffectiveDate > GETDATE() OR Status=5
I am only looking for Status 5 and if Effective Date time is less then -5 hours from the current pulling time.
Can anyone help me with this?
Thank you!