List:General Discussion« Previous MessageNext Message »
From:Martijn Tonies Date:October 25 2005 6:44am
Subject:Re: Date storage format
View as plain text  
>
>Can anyone tell me what advantages there are in keeping dates and times in
a MySQL DateTime field, as opposed to storing its >string equivalent in a
Varchar field ?


Decent sorting, validity checking, being able to use the DATE and TIME
functions etc etc...

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com

Thread
Date storage formatDanny Sinang25 Oct
  • Re: Date storage formatMartijn Tonies25 Oct
  • Re: Date storage formatGleb Paharenko25 Oct