Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jane1
  • Order by date
  1. Jane1

    How do I get # months between two DATEs?

    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)...

Part and Inventory Search

Back
Top