sql: DATETIME - MONTH( select problem)

2001-04-17 Thread Jimmy Lantz
Hi, I'm having the following sql problem: I have two datetime fields (start and end), I need to find out if the month is either equal to start-month or equal to end-month but also if it's a month between start and end. I also check if the end-date is greater than today so it's a current one. My

Re: sql: DATETIME - MONTH( select problem)

2001-04-17 Thread Bob Hall
Hi, I'm having the following sql problem: I have two datetime fields (start and end), I need to find out if the month is either equal to start-month or equal to end-month but also if it's a month between start and end. I also check if the end-date is greater than today so it's a current one. My