RE: Can I set UNIX_TIMESTAMP() as default?

2006-05-10 Thread George Law
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

Can I set UNIX_TIMESTAMP() as default?

2006-05-10 Thread Nicolas Verhaeghe
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