File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
recent entries from the database
Joined: Aug 31, 2007
Sep 29, 2008 05:05:00
Is there a way to retrieve the most recent entries from the database.If yes please do mention.
Joined: Apr 14, 2004
Sep 29, 2008 05:25:00
You'll need to modify your data model to do this. You can add a modify date field to your table and select all those records after a chosen date.
Joined: Oct 13, 2005
Sep 29, 2008 06:22:00
Or if you have an auto-increment column, "id", try
select . . . where id = max(id) . . .
I agree. Here's the link:
subject: recent entries from the database
retrieve data from huge result set
HTTP status 404
CNN Article: US Tech market is very strong
salary in UK for 4.2 years java/j2ee exp
Search Limit ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015