... WHERE DatePart(month, [date_column]) = DatePart(month, GetDate())
or
... WHERE DatePart(month, [date_column]) = DatePart(month,
Current_Timestamp)
> Good day everyone
>
[quoted text clipped - 17 lines]
>
> Granville
Michael C# - 13 Jun 2005 19:23 GMT
FYI, it will be a little more complex than this since you want to reference
the dates from another column in another table, but the general idea is use
the DatePart(month, ...) to get the month out of a date. Thanks.
> ... WHERE DatePart(month, [date_column]) = DatePart(month, GetDate())
> or
[quoted text clipped - 22 lines]
>>
>> Granville