File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQL Query to sort the date by month and year udint the date format in MS Acess