John Mistler <mailto:[EMAIL PROTECTED]>
    on Friday, October 15, 2004 3:17 PM said:

> Is there a function that will return the latest date from a datetime
> column?

SELECT theColumn
FROM theTable
ORDER BY theColumn ASC (or is it DESC?)
LIMIT 1;

something like this? (or maybe this is too simple for your needs?)


hth,
chris.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to