06 2:33 PM
To: mysql@lists.mysql.com
Subject: Can I set UNIX_TIMESTAMP() as default?
I would like an integer field to capture the current date as a Unix
Timestamp by default.
But this will not be accepted at all.
I get the error "invalid default value for [field name]"
Is there a workaround
I would like an integer field to capture the current date as a Unix
Timestamp by default.
But this will not be accepted at all.
I get the error "invalid default value for [field name]"
Is there a workaround?
Thanks!
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysq