All,
I have a table with member data.
I wanna retrieve all member that have their birthday in the next n weeks.
I have one problem i cannot get solved :
Today + 1 week shows me the correct data.
Today + 2 weeks also works well
(combining datepart and dateadd functions to compare the dates)
When I try today + 52 weeks, in stead of showing me all members, I only get the members having their birthday between now and the end of the year. I understand why this is so, but I do no know how to solve the problem ...
Any help ?
I have a table with member data.
I wanna retrieve all member that have their birthday in the next n weeks.
I have one problem i cannot get solved :
Today + 1 week shows me the correct data.
Today + 2 weeks also works well
(combining datepart and dateadd functions to compare the dates)
When I try today + 52 weeks, in stead of showing me all members, I only get the members having their birthday between now and the end of the year. I understand why this is so, but I do no know how to solve the problem ...
Any help ?