Hi All,
I have a table with one column as date field myselecteddate. If the current date is one day before myselecteddate I need to send an email through sql server.
I will use datediff and find the difference between myselected date and Currentdate. Then if some rows returns 1 . Then how to fetch them if difference =1 and send an email.
Any suggestions or ideas will be helpful.
Thanks.