Check the data type of the 'date' column. Your SQL statement should work for the DATE type, but if you are storing the date as a string, the return will be alphabetized. You should have shown us the order you get.
Update: Aha! My bad, I should have noticed. 'date' is illegal as a column name because it's a datatype. Just pick another name.
After Compline,
Zaxo
In reply to Re: DBI SQL problem
by Zaxo
in thread DBI SQL problem
by glickjd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |