Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Mar 2001
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Month of Date (Office 2000)

    I'm using Office 2000 on a PIII 600 MHz with 128 MB RAM on a Novell 5.0 network. I have a table of clients with one field as DOB (date of birth). I need to simple way in a query to find all the people born in October no matter what year.

  2. #2
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    Richland, Washington, USA
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Month of Date (Office 2000)

    Try something like
    <font face="Georgia">
    SELECT Name, DOB
    FROM [Names]
    WHERE Month([DOB])=10;
    </font face=georgia>
    Of course, your DOB field must be defined as a Date/Time data type for this to work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •