A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
CNN Article: US Tech market is very strong
salary in UK for 4.2 years java/j2ee exp
retrieve data from huge result set
Search Limit ?
HTTP status 404
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014