In my sql statement, I need to retrieve rows which datediff
more than 3 months.
But I found that it seems have rounding problem such as
From Date: 2010-09-09
To Date: 2010-12-01
select datediff(month,' 2010-09-09', '2010-12-01')
It returns 3 for result.
How to fix it ? thanks.
regards, Joe