Hi,
I'm trying to query for the number of months between two dates. I have a table with a StartDate column and an EndDate column. I want to know the difference between them.
i.e.
SELECT StartDate - EndDate
FROM MyTable
WHERE ID = 1
(error: this query gives number of DAYS, not months)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.