php3-list | 2000051
Date: 05/12/00
- Next message: Richard Lynch: "Re: [PHP3] PHP-Authorisation under NT"
- Previous message: Rosenet Technical Support: "Re: [PHP3] Big Challenge"
- In reply to: Steve Max: "[PHP3] "order by" Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<snip>
I have a MySQL table with some colums, but two of them are "Date" and the
other one "Time".
Now I want to make a selection order by Date, but then I want the result to
be order by Time too.
</snip>
Why not have a DATETIME column in the MySQL table instead? If you did that
then you only need one ORDER by and it'll be a faster sort.
Sincerely,
Craig Vincent
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "Re: [PHP3] PHP-Authorisation under NT"
- Previous message: Rosenet Technical Support: "Re: [PHP3] Big Challenge"
- In reply to: Steve Max: "[PHP3] "order by" Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

