Nick,
Tuesday, May 07, 2002, 12:06:31 PM, you wrote:

NW> I've been searching for a solution to the following:

NW> Is there an easy way to order by date (YYYY - MM - DD), at the moment my
NW> results are coming back with the *day* ordered but not the whole date
NW> like this:

NW> 02 02 2002
NW> 03 03 2005
NW> 18 02 2003

NW> See what I mean?

What is your column type? Why you don't use ORDER BY your_date_column
in the SELECT statement? It should work, but I can say you exactly
because I don't know your table structure. The other causes of wrong
result might be that something is not correct in your SQL statement.

NW> I can't beleive there is nothing that can be done with sql about this 
NW> but I can't seem to find anything that will tell me how to do it so a little 
pointer would be smashing.

NW> Many thanks...




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to