TIMESTAMP DEFAULT VALUE

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
mgalvan
Posts: 1
Joined: Fri 19 Jan 2007 01:48

TIMESTAMP DEFAULT VALUE

Post by mgalvan » Fri 19 Jan 2007 02:10

I'm running MySQL Developer Studio 1.51.33. When I treat to edit a table adding a new column, I get an error message: Invalid default value for 'my_TIMESTAMP_fieldname'. I have in my table a TIMESTAMP column with default value = CURRENT_TIMESTAMP. Pleace Help!

Duke
Devart Team
Posts: 476
Joined: Fri 29 Oct 2004 09:25

Post by Duke » Mon 22 Jan 2007 15:01

We are working over the problem with CURRENT_TIMESTAMP. By now, you should manually add column to the such table (with ALTER TABLE ... ADD COLUMN).

Post Reply