|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Most recent date entry
Hi,
How do I find the most recent date entry stored in my date field.This field will be containing future dates also. Is using "Select max(datefield) from table"; a correct way?? If a user has added Aug 10,Sep 10,Oct10,2003 then Oct10,2003 is what I mean by most recent entry. |
|
#2
|
||||
|
||||
|
RE: Most recent date entry
I'd use
SELECT * FROM table ORDER BY smthng DESC LIMIT 1 |
|
#3
|
|||
|
|||
|
RE: Most recent date entry
Thanks.Gee that was so simple.I just wanted to be sure since it was date field.Thanks again
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Most recent date entry |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|