|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: MySQL Timestamp comparisonby tune (Curate) |
| on Oct 30, 2003 at 07:48 UTC ( [id://303242]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I think it is a very bad idea. Consider you are having more than one record inserts within a secundum. You cannot issue a unique key to your new records since it would be identical. You better use an auto_increment integer as primary key, and keep the timestamp for other reasons. The auto_increment column is strictly growing in time too, and does not take up as much disk space.
Hey wait, where is the perl question in this??? --
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||