aspose file tools*
The moose likes Servlets and the fly likes SQL Query to sort the date by month and year udint the date format in MS Acess Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SQL Query to sort the date by month and year udint the date format in MS Acess" Watch "SQL Query to sort the date by month and year udint the date format in MS Acess" New topic
Author

SQL Query to sort the date by month and year udint the date format in MS Acess

Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
hello Frns
I am trying to retrive data from MS Acess databse by Date. My date field is in the following format in my table (MM/DD/YY) i want to sort the records based on year and month ie i want to use the date and year in my WHERE clause does ne 1 know to do this i have to use the date format that is already present kindly help
URGENT
Amit

<I>Chance Favours the Prepared minds"</I>
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
This is a database question rather than one about servlets and JSP, so I've moved it to the JDBC forum.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
jQuery in Action, 2nd edition
 
subject: SQL Query to sort the date by month and year udint the date format in MS Acess