Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6323665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:33:39+00:00 2026-05-24T16:33:39+00:00

I have a table with the following data. id Date of Issue Date of

  • 0

I have a table with the following data.

id  Date of Issue  Date of Travel       
---------------------------------

1   10-april-2011  10-may-2011    
2   25-april-2011  22-may-2011

How can I display the number of months between the Date of Issue and Date of Travel in SQL (I am using an MS Access database)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:33:40+00:00Added an answer on May 24, 2026 at 4:33 pm

    If I understand your question, you need to use the DateDiff function:

    SELECT DATEDIFF ("m", [id Date of Issue], [Date of Travel]) FROM ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table with the following data: id | numbers | date ----------------------------------
I have the following data on a table tbl Admission : Date and Time
I have table the following data structure in SQL Server: ID Date Allocation 1,
Let's take the following data: dt <- data.table(TICKER=c(rep(ABC,10),DEF), PERIOD=c(rep(as.Date(2010-12-31),10),as.Date(2011-12-31)), DATE=as.Date(c(2010-01-05,2010-01-07,2010-01-08,2010-01-09,2010-01-10,2010-01-11,2010-01-13,2010-04-01,2010-04-02,2010-08-03,2011-02-05)), ID=c(1,2,1,3,1,2,1,1,2,2,1),VALUE=c(1.5,1.3,1.4,1.6,1.4,1.2,1.5,1.7,1.8,1.7,2.3)) setkey(dt,TICKER,PERIOD,ID,DATE) Now for
SQL Server 2005+. I have a table with the following schema/data: Name Slots Date
I have a log table with the following format (and sample data): date |
I have the following data: Table Name: NODE NID | Name | Date 001
I have the following data: ID Date interval interval_date tot_activity non-activity 22190 2011-09-27 00:00:00
I have a table 'my_table'. It has the following data : ID --- Date
I have the following data Date Week ID Tot_Seconds O_Seconds Week_ID 8/14/2011 12:00:00 AM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.