saintdw
Oct 14th 2005, 5:41 pm
I have a table with following type of data inserted
DATE ('02-5-2005') i.e. the output of that would be "2-May-05"
The problem is, when I try to do a ORDER BY date, date being a column with dates, it onle sorts them by first digit, i.e. "2" and doesnt consider month or year.
What am I doing wrong?
DATE ('02-5-2005') i.e. the output of that would be "2-May-05"
The problem is, when I try to do a ORDER BY date, date being a column with dates, it onle sorts them by first digit, i.e. "2" and doesnt consider month or year.
What am I doing wrong?