common db question: datetime or date & time
| From: | Matthias Nothhaft | Date: | Tue, 27 Jun 2006 11:02:56 +0000 |
| Subject: | common db question: datetime or date & time | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24482@lists.php.net to get a copy of this message | ||
Hi folks,
any time I work on database schemas I wonder if it is better to use a datetime datatype or separate date and time fields to store timestamps.
Does any one know a best practice or has any one some expieriences why what in which situation?
Thanks in advance for any help!
Regards,
Matthias