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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 6913
This is a database question rather than one about servlets and JSP, so I've moved it to the JDBC forum.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SQL Query to sort the date by month and year udint the date format in MS Acess
 
Similar Threads
How to use the year-from-dateTime function
Collision of Date format between java.sql and SQL Server
Date functions
How to convert java.util.Calendar in JSTL?
SQL Query to sort the date by month and year udint the date format in MS Acess