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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using month and year

Status
Not open for further replies.

WendyNS

Technical User
Aug 7, 2001
1
US
I need to write a query that asks the user to enter a month and year , then display all records whose date falls within that time period. I need to keep the format of the date in the table as mm/dd/yy.
Thanks,
Wendy
 
On opening this query you will be asked to input x and y:
select ... from yourTable where month(dateCol) = x and year(dateCol) = y John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top