tags:

views:

48

answers:

1

I want to store date in my database table in dd/mm/yy format & perform order by on that column. Please help.

+4  A: 

A date field is not stored in any particular human readable format, rather that is how it is formatted when printed/displayed. ORDER BY will properly sort a date/datetime column regardless of how you may want it formatted for display.

Bob Kaufman