Dear ck9663
Thank you very much for this. It worked perfectly, exactly what I needed.
I just removed the dd, as it is not needed - I just need the difference between the datediff(dateCr eated,getDate() ) = 0
for day 3 I am using the same with = -2 and for day 5 the same with = -4
Just to clarify, I am sending a series of reminder emails (day 1 day 3 and day 5) so I need to identify everyday...
User Profile
Collapse
-
Help to query a date range
Please forgive me, I am a neophyte at this :)
I need to select all records created today
I can't use GetDate because it looks for a specific hour minute and second so I need a range.
ie select records created less than or equal to current date except less than 1 day ago.
I will run this query at exactly the same time everyday so that will not vary.
I can select the records...
No activity results to display
Show More
Leave a comment: