Hi everyone,
I am sending reminder emails and would like the email sent out 3 days from the submit date.
For instance, if a customer order was sent out today, May 13, 2004, We would like to send the customer an email reminder on Sunday May 16, 2004 to remind them that their order was sent out 3 days ago.
The problem that I have with the current code that I have is that it is sending out everything that that is greater than 3 days.
We don't want to send out anything that is earlier than 3 days or longer than 3 days.
Please see if you can help out on this.
This is currently what I have:
SELECT Date_Submitted
FROM dateTable
WHERE DateAdd(hour, -72, getdate()) > Date_Submitted
I am sending reminder emails and would like the email sent out 3 days from the submit date.
For instance, if a customer order was sent out today, May 13, 2004, We would like to send the customer an email reminder on Sunday May 16, 2004 to remind them that their order was sent out 3 days ago.
The problem that I have with the current code that I have is that it is sending out everything that that is greater than 3 days.
We don't want to send out anything that is earlier than 3 days or longer than 3 days.
Please see if you can help out on this.
This is currently what I have:
SELECT Date_Submitted
FROM dateTable
WHERE DateAdd(hour, -72, getdate()) > Date_Submitted