I have a portion of code:
select ID,Name
where gifteffdat >='2009-10-01' and gifteffdat <='2009-10-30'
from gifts
Now I need a way of showing records each month as long as thet fall within a calendar month. I need to get away from hardcoding the month range
I need something like if the gifteffdat falls within the first and last day of the currentmonth, show the records
select ID,Name
where gifteffdat >='2009-10-01' and gifteffdat <='2009-10-30'
from gifts
Now I need a way of showing records each month as long as thet fall within a calendar month. I need to get away from hardcoding the month range
I need something like if the gifteffdat falls within the first and last day of the currentmonth, show the records