This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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) . . .
It is sorta covered in the
JavaRanch Style Guide
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